POV-Ray : Newsgroups : povray.general : trace question : Re: trace question Server Time
23 Apr 2024 11:14:27 EDT (-0400)
  Re: trace question  
From: Stephen
Date: 11 Sep 2017 09:05:01
Message: <web.59b68980c9840c1a64d483f00@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
> On 09/10/2017 10:01 AM, Stephen wrote:
> > On 10/09/2017 14:27, clipka wrote:
> ...
> >
> >> ... and hope that the pigment isn't UV-mapped,
> >
> > Hope is not involved because there is a good chance I would want to do
> > that. Is it at all possible?
> >
> We do now have a user defined by functions camera. If you can work out
> how to map each 'trace' to an equivalent user defined camera ray, it
> should be you can create an image - sort of a new version of the uv
> mapped texture as 'seen' mapped onto the object. This rendered image
> could then be queried at the appropriate x,y positions for each trace to
> give you the color values.
>
> Likely want to create that image with a modified finish of ambient 1.0
> or emission 1.0 - and diffuse 0.0 for the object's texture.
>
> I've had the reverse of what you are attempting floating around in my
> head for creating uv mapped images via texture baking environments for
> all POV-Ray's uv mapped objects. We have the uv mapping for a
> significant number of primitives, but for most, no easy way to create uv
> image maps for them. In other words, as part of the uv mapping
> capability for each primitive, might we be able to provide uv mapping
> functions which could be use to create inward or outward facing user
> defined functional cameras more or less in the 'shape' of the primitive
> object. Kind of a mesh camera capability. Every uv mapped primitive
> could also be a primitive shaped camera by using the uv appropriate
> functions and matching shape parameters. ;-)
>
> Using the mesh camera to get a rendered image for the traced colors is I
> think another possibility. Create a triangle in the 'camera' mesh for
> each traced ray.
>
> Bill P.

More food for thought. I am going to die of glutony. ;-)

I've been meaning to look at the mesh camera for ages. I like the idea of using
it as a UV mapper.

But with my luck at the moment...

I'm having to post this from the web interface as TBird did not load the text.

Computers!

--

Stephen


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.