SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Alternative to the ramp texture node question
Register FAQ Members List Calendar Mark Forums Read

New Thread
Thread Tools
Old 29-01-2011, 12:51 AM   #1
Registered User
Join Date: Jan 2011
Posts: 2
Default Alternative to the ramp texture node question

Hi all,

I'm writing a landscape generator tool using python on Maya 2011 and am fine with the technical side of things, but I have a slight issue with how to proceed to texturing the terrain.

I have 3 high resolution textures with matching normal maps. For single textures the following works fine...

PlaceTexture2d plugs into the normal map and texture file nodes (I set repeat to 5 for both U and V in texture2d)

The normal map file node plugs into a bump2d and I set bump2d to tangent space with a low bump amount.

I plug the bump2d and the texture file node into a shader (lambert)

Doing this look great even in the the projective viewport (on high quality) and it render pretty well too.

But when I introduce a ramp texture node and use the RgbTo Hsv to connect the heightmap image to the UVcoords, with three textures in three different inputs of the ramp texture node, everything goes blurry in the projective viewport, and when rendered the normal mapping looks off (but does use the texture repeats when rendered)

I'm guessing the ramp texture node is rather limited and am just wondering if anyone could point me towards a method that will multitexture (using the heightmap image for coords) and maintain the repeatuvs that the three textures use?

Last edited by rebirth34 : 29-01-2011 at 12:56 AM.
rebirth34 is offline   Reply With Quote
Old 29-01-2011, 01:14 AM   #2
Registered User
Join Date: Jan 2011
Posts: 2

Ok, I just figured out that the final shader can be baked at a high resolution with uv range set to entire range. This might suffice (have to play with bump mapping yet), but am concerned about having such a large image at the end.

Tips welcomed
rebirth34 is offline   Reply With Quote
Old 29-01-2011, 01:27 AM   #3
Lifetime Member
bullet1968's Avatar
Join Date: Feb 2010
Location: Australia
Posts: 4,255

I cant help you but as a Surveyor I am interested in how you go with this....I can create DTM's in CAD but then to get them to work in Maya is a pain. Post some screen shots when you are done please...I would like to see how this turns out.

cheers bullet

"A Darkness at Sethanon", a book I aspire to model some of the charcters and scenes
bullet1968 is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
light-hearted question regarding 'nodes'... se7enhedd Maya Basics & Newbie Lounge 17 26-03-2011 11:22 PM
no Rigid Bodies with Mental Ray batch pherax Mental Ray 10 23-03-2011 11:35 AM
UV layout question Rhetoric Camel Maya Materials & Textures 2 20-12-2010 02:38 AM
Question, please help if you can Tigersan Modeling 1 17-12-2010 09:38 AM
Procedural Texture iamcreasy Maya Materials & Textures 2 14-12-2010 11:43 AM