Author : disting


Reply
Reply
 
Thread Tools Display Modes
fritz's Avatar
Old (#1)
hello. i've been hearing about this for some time now. and i just don't get it. i've heard about people using render to texture in max to "re-bake" their UV maps. can anyone shed some light on this for me?
Offline , polygon, 675 Posts, Join Date Aug 2005, Location chicago IL  
   Reply With Quote

pior's Avatar
Old (#2)
Yes!

Basically you simply unwrap your model to one specific UV channel, texture it the way you want, then create another UV layout in , say, channel 2. In the RTT window options you choose the from and to channels. No need for a duplicate of the model or anything - everything happens within one single object. I don't have max here atm but everything is rather self explanatory.

Note that you can also save UV layout to file which can be handy in the process.

So nextgen!
Offline , veteran polycounter, 4,941 Posts, Join Date Oct 2004, Location Irvine CA  
   Reply With Quote

fritz's Avatar
Old (#3)
why not just UV map it as best you can in the first place...then just paint them little dudes?
Offline , polygon, 675 Posts, Join Date Aug 2005, Location chicago IL  
   Reply With Quote

pior's Avatar
Old (#4)
Well the only time I used this technique from start to finish was on my Blizz entry. I had to complete the armor very VERY fast hence couldn't afford to UV map each bit, arrange everything in a cool layout, and then paint the little dudes (with the possibility of inappropriate UVs popping here and there and time flying away, which would leave me with a potentially incomplete texture map).

Hence I simply drew each armor pad I needed straight on a temporary texture sheet, and when I had a nice pad completed I slapped it on a 3d plane and shaped it in place, then moved on to the next. Since it was all done in a rush it made the process faster and less annoying since I was certain I wouldn't have everything to paint at once if time ran short. That way, whatever happened, I knew I was gonna have say, 75 to 90 % the design actually modeled AND UVed on time. When I reached something I liked enough I decided to stop, arranged the UV bits I made on time in a nice sheet and baked everything to a better layout.

Yeah well not really production friendly but it helped. Note that you can also use that technique to fix annoying texture seams.

(edit)
Hmmm in fact it can be also very helpful in production when you need asset uniformisation. Like on MMOs where many assets share the same layout but some old ones need to be adjusted to fit a new layout system. Used it on 2 projects already and it made the person who was about to manually edit the layout in photoshop VERY happy!
Offline , veteran polycounter, 4,941 Posts, Join Date Oct 2004, Location Irvine CA  
   Reply With Quote

fritz's Avatar
Old (#5)
thanks man. i appreciate it.

beers on me!!!
Offline , polygon, 675 Posts, Join Date Aug 2005, Location chicago IL  
   Reply With Quote

Marcus Dublin's Avatar
Old (#6)
This is also helpful when you have to make multiple LODS for game assets!

Marcus Dublin

Artist - Kaos Studios
Marcus Dublin – Art & Project Director
Art Bully Productions, LLC / Co-Founder
Company Website: www.artbullyproductions.com
Personal Website: www.marcusdublin.com
Offline , triangle, 376 Posts, Join Date Dec 2005, Location NY, USA  
   Reply With Quote

SuperOstrich's Avatar
Old (#7)
Another good usage is you have a high poly model without UVs, and you texture it in Zbrush. Once you have a low poly model with UVs and you're ready to bake your normal maps, you can bake out the diffuse at the same time to the low poly UVs.
www.superostrich.net
My Sketchbook
Lead Character Artist - Neversoft Entertainment
Offline , triangle, 312 Posts, Join Date Mar 2006, Location Woodland Hills, CA  
   Reply With Quote

Mark Dygert's Avatar
Old (#8)
I sometimes use one UV channel for procedural max textures like noise, smoke, dent, electricity ect... then render those out and use them when painting textures.

Right now I'm using a "Max Shader" to scatter dust around the objects I'm working on. I blend my defuse with a procedural dust texture, to settle dust on top of everything then bake out my texture. Areas that are not parallel to the Z axis do not receive the dust material (gotta love falloff). Saves me from having to try and figure out where dust would settle. The procedural dust texture uses a separate UV channel, I also render out just the dust with an opacity mask so I can overlay the dust on my texture so I can keep painting without having to re-bake.

I also used this technique to blend snow over complex areas.


I also have a stock set of max materials I keep on hand, they work as a good base to start painting from. They also use a separate UV channel than my final layout. This helmet was textured 100% in max materials in about 30min. It works well as a base to start painting on =)
(AKA Vig) Portfolio | Lab | Brawl | Decker |
Offline , Polycount.com Editor, 13,900 Posts, Join Date Oct 2004, Location Seattle, Wa Send a message via MSN to Mark Dygert  
   Reply With Quote

thomasp's Avatar
Old (#9)
other reasons:
being able to work on high-res textures that the machine otherwise wouldn't handle. for some assets you just want to have those really high res textures and since 4k and higher images are a little hard to work with on today's machines, i prefer to split accross several 2k textures and separate parts as much as possible initially. yet for game export it needs to be condensed to a single texture page and rebaking makes it easy.

another thing - suddenly there's the request to have higher resolution on a certain part of an asset that's already textured. no problem, if you painted in a higher res than the intended output one. just modify the uv's to give the prominent parts more pixel-space and rebake.

and: imagine some asset that's complicated to unwrap. it spreads out like mad on your texture sheet, wasting space like nothing else. just texture it that way and then reshape the uv's into something more efficient, rebake and voila. no need to compensate for stretching/seams during painting.
gotta be careful with normalmaps when doing this tho.
Offline , polycounter, 1,220 Posts, Join Date Nov 2004, Location Germany Send a message via ICQ to thomasp  
   Reply With Quote

nkoste's Avatar
Old (#10)
Wasn't there a tutorial floating around on this? I been trying to find it, but no luck. I think it featured one of johny's models. Anybody have it?
Offline , polygon, 502 Posts, Join Date Nov 2004, Location Ĺrhus, DK  
   Reply With Quote

Joshua Stubbles's Avatar
Old (#11)
Also, how bad is this on normal maps? Won't it wreak havoc on everything?
[vassago] env artist, Turn10 Studios
portfolio - linkedin -
polycount.wiki
Offline , Moderator++, 6,231 Posts, Join Date Nov 2004, Location Richmond, TX Send a message via ICQ to Joshua Stubbles  
   Reply With Quote

Psyk0's Avatar
Old (#12)
There you go nkoste
http://www.gamasutra.com/features/20...jesta_01.shtml
Offline , polycounter, 1,209 Posts, Join Date Jun 2005, Location Quebie, Canada Send a message via MSN to Psyk0  
   Reply With Quote

nkoste's Avatar
Old (#13)
Heya exactly that one, thanks [img]/images/graemlins/smile.gif[/img]
Offline , polygon, 502 Posts, Join Date Nov 2004, Location Ĺrhus, DK  
   Reply With Quote

Eric Chadwick's Avatar
Old (#14)
[ QUOTE ]
Also, how bad is this on normal maps? Won't it wreak havoc on everything?

[/ QUOTE ]
If you neither rotate nor stitch UVs, you're usually OK. If you change the orientation, or you change the UV vertex count, you're probably gonna cause new seams.

The way I understand it, you're altering the tangent space inadvertently, because it's tied to the UVs. So you'll likely see new seams until you re-cast the normalmap with the new UVs.
Offline , Polycount.com Editor, 6,669 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

Joshua Stubbles's Avatar
Old (#15)
The technique doesn't work for me, for whatever reason. The RTT ends up being some super-zoomed in blurry mess [img]/images/graemlins/frown.gif[/img]

*edit
I can get it to work in editable mesh, but not editable poly...
[vassago] env artist, Turn10 Studios
portfolio - linkedin -
polycount.wiki
Offline , Moderator++, 6,231 Posts, Join Date Nov 2004, Location Richmond, TX Send a message via ICQ to Joshua Stubbles  
   Reply With Quote

Noren's Avatar
Old (#16)
[ QUOTE ]

The way I understand it, you're altering the tangent space inadvertently, because it's tied to the UVs. So you'll likely see new seams until you re-cast the normalmap with the new UVs.

[/ QUOTE ]

To be sloppy, you can project a normalmap from a copy of the same mesh with the first normalmap/uv applied. In theorie that should be perfectly fine and you can rotate and manipulate the new uv's to your liking. You will end up with a slightly blurred map of course. Deactivating filtering helps, but the pixels will shift on your map slightly then, compared to a normalmap projected from the highpoly.
Offline , spline, 145 Posts, Join Date Jan 2005,  
   Reply With Quote

Ruz's Avatar
Old (#17)
Vassago , are you selecting the correct uv cvhannel in RTT. I think it defaults to 3 or something
http://www.mikerusby.com/
I thought Gore Vidal was a hairdresser then I looked him up and found he wasn't..
Offline , veteran polycounter, 4,390 Posts, Join Date Oct 2004, Location Uk(London)  
   Reply With Quote

Eric Chadwick's Avatar
Old (#18)
Noren, do normalmaps actually alter the raycasting? That's interesting. I guess they would since you can put a bump map on your highpoly mesh, and that gets factored into the new normalmap. Intriguing.
Offline , Polycount.com Editor, 6,669 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

Joshua Stubbles's Avatar
Old (#19)
Yeah Ruz, I tried following that tutorial dead on. I've only gotten it to work with Editable Meshes though [img]/images/graemlins/frown.gif[/img]
[vassago] env artist, Turn10 Studios
portfolio - linkedin -
polycount.wiki
Offline , Moderator++, 6,231 Posts, Join Date Nov 2004, Location Richmond, TX Send a message via ICQ to Joshua Stubbles  
   Reply With Quote

Ruz's Avatar
Old (#20)
just to clarify , you have 2 uv sets, channel 1 and 2. your existing texture.uv's is on channel 1, your modified uv set/texture on channel 2 .
render channel 2 to texture, addind a diffuse element only , with no lighting or shadows.
That should work

Further to this , is there any way to pump out a psd using this method, with the layers still intact
you can bring in a layer psd in to max, but it seems you can't render out.
http://www.mikerusby.com/
I thought Gore Vidal was a hairdresser then I looked him up and found he wasn't..
Offline , veteran polycounter, 4,390 Posts, Join Date Oct 2004, Location Uk(London)  
   Reply With Quote

Joshua Stubbles's Avatar
Old (#21)
Yeah Ruz, that's exactly what I was doing.
I tried it on another model and it seemed to work though..
Perhaps the original one was corrupt or something.

thanks,
[vassago] env artist, Turn10 Studios
portfolio - linkedin -
polycount.wiki
Offline , Moderator++, 6,231 Posts, Join Date Nov 2004, Location Richmond, TX Send a message via ICQ to Joshua Stubbles  
   Reply With Quote

rooster's Avatar
Old (#22)
dunno how relevant this is, but on my dom war entry the skin, jacket, glove face and hair were all rendered from normal mapped mid poly object, to a low poly object with different uvs. I did it because my machine was choking, and so I could apply a material with bump to the mid poly (fake hi poly) but still easily edit uvs on it. the normal map on the mid poly was higher resolution so it was rendering down, didnt seem to cause a quality issue (as long as the mid poly was detailed enough to describe most of the shape)
www.redprodukt.com
Rich Make Game! twitter: @RichMakeGame
"You can't edit nothing"
Offline , Counter of Polys™, 6,426 Posts, Join Date Dec 2004, Location Newcastle, uk  
   Reply With Quote

Eric Chadwick's Avatar
Old (#23)
Ruz, check out psd-manager. Not sure if it's compatible with RTT though.
http://www.cebas.com/products/produc...788&PID=38
Offline , Polycount.com Editor, 6,669 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

fritz's Avatar
Old (#24)
vassago, i had the exact same problem w/that tutorial. some others have too. dunno what it is.
Offline , polygon, 675 Posts, Join Date Aug 2005, Location chicago IL  
   Reply With Quote

Joshua Stubbles's Avatar
Old (#25)
You know what it is..hmm. It looks like other UVs are being pulled into the RTT. Even though no other UVs are selected.
[vassago] env artist, Turn10 Studios
portfolio - linkedin -
polycount.wiki
Offline , Moderator++, 6,231 Posts, Join Date Nov 2004, Location Richmond, TX Send a message via ICQ to Joshua Stubbles  
   Reply With Quote

Reply

Thread Tools
Display Modes

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

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

Forum Jump

Copyright 1998-2012 A. Risch