To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 751
    Re: Adding an image_map (used to be Re: Do I use Dat2AutoCAD or is there a better way?) —Coby Bassett
   Ryan, Put the image_map inside a pigment statement, which is in turn inside the object statement. Like this: object { _screen_ pigment { image_map { gif "classicspacelogo.gif" interpolate 2 filter all 0.8 } } } I'm not sure what you want to do with (...) (23 years ago, 14-Mar-01, to lugnet.cad.ray)
   
        Re: Adding an image_map —Ryan Farrington
   Thanks for the help, Coby! (...) I put this into the pov file and got something to appear on the object. But when I render it, all that you can see of the bitmap is a mess of gray pixels. Cheers, --Ryan (23 years ago, 15-Mar-01, to lugnet.cad.ray)
   
        Re: Adding an image_map —Coby Bassett
    Hmmm, a mess of grey pixels isn't good, but at least something appeared on the object so that's a start. I think the next step would be to check the scaling and translation of the map. Here's a pertinent paragraph from the docs: // By default, the (...) (23 years ago, 15-Mar-01, to lugnet.cad.ray)
   
        Re: Adding an image_map —Ryan Farrington
   Okay, I got it to work! I hadn't known that the picture was crammed into the 0,0/1,1 square. So the mass of gray pixels was in fact the picture, tiled beyond recognition. :) Thanks again, Coby! --Ryan (23 years ago, 16-Mar-01, to lugnet.cad.ray)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR