|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: [Blender to RenderMan:366] Re: Get Blender Image Map To Show Up In Aqsis Render via Mosaic?Hi Chris,
On 11/08/2009, at 11:35 AM, Chris Foster wrote: > (Cc'd to the aqsis-development list; the rest of this thread may be > found on > the blender to renderman mailing list archives at > http://groups.google.com/group/blendertorenderman?pli=1 ) > <snip/> > When a texture file is opened, we first attmpt to open it with the > native > image loading interface. At the moment we only support TIFF, > OpenEXR, and the > aqsis zfile format natively. If we can open the image, all is > well. OTOH, > when the image format is unrecognised, we call through to a user- > defined > external application to convert the texture to TIFF. > > I think this behaviour should be set to off by default for > predictability and > safety. To specify the external converter application, the user > should set an > RiOption, something like: > > Option "texture" "string converter" "<converter_executable_name> %I > %O" > > Where %I is the input file name, and %O is the output file name > (possibly just > equal to %I with a .tif appended?) If I wanted to use the "convert" > program > from the imagemagick tools, I'd just replace > <converter_executable_name> with > "convert". > > A remaining issue would be whether we just want this to work for > MakeTexture-like interface calls (and in teqser), or whether it > should also > work for textures which are referenced by texture() calls in the > shading > language. I think that having it work only with MakeTexture would be > sufficient because people shouldn't really be using non-optimized > textures in > the texture() function anyway. I think this is a good solution. The following advantages make it seem a great idea to me: 1. The range of supported images immediately becomes arbitrarily large. 2. It puts a minimum burden (in terms of functionality) on Aqsis itself. 3. It will continue to work if native support for an image format is implemented, since the converter can then simply be ignored. It will therefore be relatively future-proof. The criticisms of the solution are those that go along with any dependency on an external program: we'll have path problems, cases where it works on some computers but not others (and Aqsis will take the blame for a missing imagemagick install or whatever), external programs may do stupid things in the format conversion, etc... However, I think those are relatively minor issues. Are you still thinking of using OIIO eventually? It has plugin support for a variety of image formats (and, we are told, "more to come"): http://openimageio.org/wiki/index.php?title=Main_Page +1 for making it work only for MakeTexture et al... I can see a lot of advantages to having some kind of predictability in the images that are used while shading. Jonathan Merritt. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Aqsis-development mailing list Aqsis-development@... https://lists.sourceforge.net/lists/listinfo/aqsis-development |
|
|
|
|
|
Re: [Blender to RenderMan:366] Re: Get Blender Image Map To Show Up In Aqsis Render via Mosaic?On Tue, Aug 11, 2009 at 1:18 PM, Jonathan Merritt<merritt@...> wrote:
> Hi Chris, > > On 11/08/2009, at 11:35 AM, Chris Foster wrote: >> [...] >> >> A remaining issue would be whether we just want this to work for >> MakeTexture-like interface calls (and in teqser), or whether it >> should also >> work for textures which are referenced by texture() calls in the >> shading >> language. I think that having it work only with MakeTexture would be >> sufficient because people shouldn't really be using non-optimized >> textures in >> the texture() function anyway. > > I think this is a good solution. The following advantages make it > seem a great idea to me: > 1. The range of supported images immediately becomes arbitrarily > large. > 2. It puts a minimum burden (in terms of functionality) on Aqsis > itself. > 3. It will continue to work if native support for an image format > is implemented, since the converter can then simply be ignored. It > will therefore be relatively future-proof. > > The criticisms of the solution are those that go along with any > dependency on an external program: we'll have path problems, cases > where it works on some computers but not others (and Aqsis will take > the blame for a missing imagemagick install or whatever), external > programs may do stupid things in the format conversion, etc... That's why I thought the default would be to have the feature off. The user could enable it if they knew what they were doing. > However, I think those are relatively minor issues. > > Are you still thinking of using OIIO eventually? It has plugin > support for a variety of image formats (and, we are told, "more to > come"): > http://openimageio.org/wiki/index.php?title=Main_Page Definitely, I'm on the mailing list for OIIO, and am following the progress closely. In fact, I'm currently involved in the development in a minor way (code reviews, design suggestions based on aqsistex experiances, and some cmake build system code). > +1 for making it work only for MakeTexture et al... I can see a lot of > advantages to having some kind of predictability in the images that > are used while shading. Cool. What do think about Eric's suggestion (forwarded) though? It seems like a wrapper around teqser may be a better option. ~Chris. PS: I'm not sure what the etiquette for posting to multiple lists at once is. I'm CC'ing all these posts to both lists so that everyone can follow the conversation. Apologies to the (hopefully few) people who are getting these posts twice. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Aqsis-development mailing list Aqsis-development@... https://lists.sourceforge.net/lists/listinfo/aqsis-development |
| Free embeddable forum powered by Nabble | Forum Help |