Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
Generating a heightmap

Generating a heightmap

2004-02-24       - By Lucas Meijer

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Ian Thomas wrote:
> Lucas,
>   Thanks... I actually tried that (and it was very, very slow.)

Hmm.. well for the sake of argument, and not to mean that this is the
best method, a few thoughts on speeding it up:

- don't mode the far clipping plane a small about closer, but say twice
as close each time. If you've gone too far, push it back 50%, etc...
that should limit the amount of times you need to check if a render is
totally black.

- to speed up checking if a render is totally black, make the bgcolor
black, and have all shaders render pure white. Then you can copyPixel
your image down to a much smaller image. If there was a pure white pixel
present in the original, it will be much darker in the small image, but
that doesn't matter, you only want to know if something is totally black
or not.  You'll have to do a few tests with the copypixels command
however to examin exactly how it performs its downscaling, and to see
how far you can scale down without getting a risk of 'missing' a white
pixel.

I haven't actually ever tried what happens when you compare two image
references with eachother... does it check the actual pixel content, or
does it only tell me if they're referencing the same object or not? If
it's the former you can just make your own black image, and check if
renderImage<>blackImage then etc..

Anyway, I think it would be a lot easier to use a 3d authoring app, but
since you're working from lingo I assume you don't have access to one.

Bye, Lucas
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Dir3d-l mailing list
Dir3d-l@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l