Fri, Nov 22, 9:28 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 21 6:06 am)



Subject: Render a material AS a texture?


ptrope ( ) posted Mon, 10 June 2013 at 2:03 PM · edited Fri, 22 November 2024 at 5:15 PM

I can think of a way to make it possible, but it depends on lighting more than anything. I want to render a complete material, the way it shows in the thumbnail in the Materials room, but without any of the distortion of the lighting effects, and at a large size, like 2000x2000. I figure I could use a UV-mapped square, apply the material to it, and render it using the Front camera so there's no camera distortion. I can only think that a white infinite light, directly in front of the square (i.e., no X- or - offsets, no rotation at all) might give back the original colors with no shading.

It would be great to have something like this in Poser, where one could render out a material as a layered PSD. Maybe a Python script or something ...

Has anyone tried this (or had a desire to ;) ) ?


bagginsbill ( ) posted Mon, 10 June 2013 at 3:06 PM · edited Mon, 10 June 2013 at 3:07 PM

If you design the shader so that it does all its work with nodes and plugs into Alternate_Diffuse, then the same arrangement of nodes can be plugged into the background material color. The "background" is what gets rendered when your scene (or part of it) is empty and there's nothing to draw.

The beauty of the background as compared to a unit UV prop is:

  1. It ignores light

  2. It cannot produce perspective distortion no matter what camera you use

  3. The UV span works exactly 0 to 1 - no fiddling.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Cage ( ) posted Mon, 10 June 2013 at 3:07 PM · edited Mon, 10 June 2013 at 3:08 PM

I think this has been covered in a few threads, over the years.  I'm pretty sure one or more techniques has been outlined in those threads.  Unfortunately, I'm not very adept with Rosity's Search function.  The closest I can find is a post where Ockham shows how to use the P shader variable to generate a displacement map.  He includes a pz3 file which shows his basic setup, which may help in some ways, but the example uses material ambience and no lighting.  Some other process would be needed to light the rendered material.

I'm pretty sure bagginsbill has outlined a process for this, in one of those threads, which is based on a mathematically correct application of optics.  Umm.  :unsure:

At any rate, here's Ockham's example:

http://www.renderosity.com/mod/forumpro/showthread.php?message_id=4069505&ebot_calc_page

 

Scooped by BB himself!  :lol:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


ptrope ( ) posted Mon, 10 June 2013 at 3:16 PM

Thanks, guys! I had been told that you might have touched on this already, bagginsbill, but my search didn't return anything that looked relevant (imagine that! :biggrin:). Dopey me - I hadn't thought about rendering it to the background! It's already UV-mapped and self-illuminating! :biggrin:


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.