FAQFAQ    Board RulesBoard Rules    SearchSearch    LotteryLottery    RouletteRoulette    UsergroupsUsergroups
     RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Shop    Log inLog in 
View posts since last visit View your posts View unanswered posts

Creating paraboloid environment map with Adobe Photoshop

 
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Modding Tutorials
View previous topic :: View next topic  
Author Message
djbozkosz

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 06 Mar 2013
Posts: 92
Location: Czech Republic
1861 Bank Notes
Items

PostPosted: Tue Oct 14, 2014 8:49 pm    Post subject: Creating paraboloid environment map with Adobe Photoshop Reply with quote

I wrote short manual, how to make env maps.
Before creation, you need some pictures for texture. Propably best are screens catched directly from environment (by Fraps, etc...).

For tutorial I didn't use scene pics but sky textures (SKY 3 *.BMP).

1. First of all, create in Photoshop new rect image (eg. 512x512).
Then insert top image and place it at the center.
After this, insert side image and use free transform (Ctrl+T) to resize it into white place. But don't apply transformation yet. Then right click to layer and use Perspective transformation. Use upper layer corner (if layer is at bottom) to clip upper side onto center layer (see image bellow). Angle should be 45.

2. Repeat steps above for side images and at the end merge layers. But not with background.

3. 4. Then use free transf. again and switch to Wrap mode (on top panel or right click). From combo box select Inflate Wrap mode and with top point bend layer to 100%. Then swith back to free transf and reduce size.

5. Last step shows invisible texture parts (red) and badly visible (green).

------------------------------------------
4ds examples:
env1a.bmp - for full reflection: mode overlay, ratio: 100%, eg. for glass
env1b.bmp - for additive refl.: mode overlay+additive, ratio: irrelevant
env1c.bmp - for not full refl: mode overlay, ratio: ...%, or for glass additive: mode overlay+additive, ratio: irrelevant
env1d.bmp - for additive refl. with freshnel effect: mode overlay+additive, ratio: irrelevant, for flat geometry (water, etc..., not walls)



Reference:
http://members.gamedev.net/JasonZ/Paraboloid/DualParaboloidMappingInTheVertexShader.pdf
http://www.ozone3d.net/tutorials/glsl_texturing_p04.php
_________________

Web | Youtube | Developer at
Back to top
View user's profile Send private message Visit poster's website
AsaSK

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 24 Feb 2013
Posts: 556
Location: London, England
7696 Bank Notes
Items

PostPosted: Thu Oct 16, 2014 4:44 pm    Post subject: Creating paraboloid environment map with Adobe Photoshop Reply with quote

Going to give this a try, thanks Boz!
_________________

The official Mafioso Mod thread
Back to top
View user's profile Send private message
huckleberrypie

Member
Member


Joined: 08 Aug 2014
Posts: 126

253 Bank Notes
Items

PostPosted: Wed Oct 22, 2014 12:24 am    Post subject: Creating paraboloid environment map with Adobe Photoshop Reply with quote

Looks interesting. From what I heard this was the same method R* used for the reflections in GTA IV, except that the latter was generated in real time.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Modding Tutorials All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Generation Time: 0.012 | Queries: 19