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
750  |  752
Subject: 
Re: Adding an image_map (used to be Re: Do I use Dat2AutoCAD or is there a better way?)
Newsgroups: 
lugnet.cad.ray
Date: 
Wed, 14 Mar 2001 18:30:19 GMT
Viewed: 
914 times
  
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 the transparency of the map and
all, but this should get you started. Let me know if you need further help.

   Coby


In lugnet.cad.ray, Ryan Farrington writes:
John VanZwieten wrote:
POV-Ray can use bitmaps as surface textures.  I've never done this myself, • but I've seen it done.
-John Van


I did some experimenting with this last night, and I couldn't get it to
work.  I don't know where to put the image_map command to add the image.

I have this object:
object { _screen_ }

And I want to put this image on it:
image_map {
     gif "foton.gif"
     interpolate 2
     filter all 0.8
     }

[FUT: lugnet.cad.ray]
Cheers,
--Ryan



Message has 1 Reply:
  Re: Adding an image_map
 
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 (24 years ago, 15-Mar-01, to lugnet.cad.ray)

Message is in Reply To:
  Adding an image_map (used to be Re: Do I use Dat2AutoCAD or is there a better way?)
 
(...) but I've seen it done. (...) I did some experimenting with this last night, and I couldn't get it to work. I don't know where to put the image_map command to add the image. I have this object: object { _screen_ } And I want to put this image (...) (24 years ago, 13-Mar-01, to lugnet.cad.ray, lugnet.cad.dev)

7 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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