View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Trained Modder Trained ModderMember since: 07.01.2012, 13:00Posts: 396 Likes: 1
 

 Post Topic: Parallax Occlusion Mapping custom texture help
PostPosted 25.02.2012, 20:36 
Hey guys not sure if anyone can help but how do you make custom textures to use POM?

Left is the one im messing around with right is one of the defaults that come with the engine
Image

here are the settings i have configured.

Image

Thanks in advance


Some 3D Models I have done.
http://dragon3d.webs.com

  Trainee TraineeMember since: 13.07.2011, 16:18Posts: 114 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 25.02.2012, 20:41 
have you got a heightmap as the alpha in your diffuse texture?
  Trained Modder Trained ModderMember since: 07.01.2012, 13:00Posts: 396 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 25.02.2012, 20:45 
ah no pretty new to this..

how do I go around doing that ?


Some 3D Models I have done.
http://dragon3d.webs.com
  Trained Modder Trained ModderMember since: 08.08.2011, 17:20Posts: 283 Likes: 13
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 25.02.2012, 21:08 
btw where is the new very high setting mentioned in the release notes to enable POM display?
  Trained Modder Trained ModderMember since: 07.01.2012, 13:00Posts: 396 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 25.02.2012, 21:13 
Yeah i didnt notice a very high setting, but POM works with high just fine.


Some 3D Models I have done.
http://dragon3d.webs.com
  Trainee TraineeMember since: 13.07.2011, 16:18Posts: 114 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 25.02.2012, 21:34 
you have to enable the very high setting through the console - "sys_spec 4"

I haven't done this yet but I reckon to create a good POM texture you would first have to build a piece of terrain in max/mudbox etc...

Basically you need a heightmap in the alpha channel of the diffuse texture - the lighter a pixel is the more it will make the POM 'stick out'.

Now with some textures such as bricks you can create this easily by converting the texture to a greyscale and putting into the alpha channel. Because the bricks are probably a lighter or darker colour than then mortar the POM will work nicely, however, with a complex scene such as a forest ground with sticks and stones on it (where the brightness won't necesarily match the height) probably the best way to do this well will be to build the scene in Max, and then use that scene to bake out a normal map and a heightmap.

Very briefly to make a simple POM:
get your texture in photoshop
basicTexture.JPG

duplicate the layer, then desaturate it and alter the levels until you have white sticky out bits and black sticky in bits (you'll want to do this neater than I have here)
alterLevels.JPG

now copy this and create a new channel called alpha1 and copy this into that channel
intoAlphaChannel.JPG

Now you need to save your file as a crytiff (with RGB Alpha setting)

and the POM should work :)
  Trained Modder Trained ModderMember since: 07.01.2012, 13:00Posts: 396 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 25.02.2012, 22:05 
Hey thanks for that Ill have to give this a go when I get back to my computer :)


Some 3D Models I have done.
http://dragon3d.webs.com
  Trained Modder Trained ModderMember since: 07.01.2012, 13:00Posts: 396 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 26.02.2012, 00:15 
Still cant get very good results that way, am I exporting as any kind of normalmap or just a diffuse ?


Some 3D Models I have done.
http://dragon3d.webs.com
  Uber Modder Uber ModderMember since: 26.01.2010, 01:17Posts: 1147 Likes: 29
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 26.02.2012, 00:35 
Try with the displacement in the alpha of the normal map. I see the diffuse has it instead for some textures with the SDK, though it was always in the normal map before, which works here, just needs to be saved as a normal map either high or low quality, which will save it as 3dc.
  Trainee TraineeMember since: 13.07.2011, 16:18Posts: 114 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 26.02.2012, 01:09 
sorry yes just tried it and arieas is correct - it goes in the alpha map of the normal not diffuse
  Trained Modder Trained ModderMember since: 07.01.2012, 13:00Posts: 396 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 26.02.2012, 11:59 
Well with the texture i was playing around with this is the best I could get. Textrue is not very good really ill try a few others.
Image

So maybe it does need a proper heightmap done to get results like the default textures have.


Some 3D Models I have done.
http://dragon3d.webs.com
  Trained Modder Trained ModderMember since: 05.03.2010, 17:23Posts: 369 Likes: 5
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 26.02.2012, 21:28 
this could be useful. haven't watched it yet.
http://www.3dmotive.com/training/free/p ... ollow=true
  Trained Modder Trained ModderMember since: 07.01.2012, 13:00Posts: 396 Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 26.02.2012, 23:18 
That tutorial is perfect thanks :)

Just need to teach myself how to get the texture into a zbrush object now hehe :)


Some 3D Models I have done.
http://dragon3d.webs.com
User avatar   Trainee TraineeMember since: 25.06.2010, 11:22Posts: 139Location: Greece Likes: 1
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 27.02.2012, 14:52 
can anyone post some simple instructions for gimp? I'm still trying but nothing...
  Trained Modder Trained ModderMember since: 05.03.2010, 17:23Posts: 369 Likes: 5
 

 Post Topic: Re: Parallax Occlusion Mapping custom texture help
PostPosted 29.02.2012, 05:22 
here's another, just went up today at the crymod youtube channel, thanks to uploader :)

http://www.youtube.com/watch?v=Sd5Avnf_JuU

With these 2 sources this should be an excellent thread for future reference on POM textures