In 12 yrs of using DX, I have NEVER put a light in a field! (Actually, I had no idea you could do this, but as I write, I wonder if you really can! Has this ever worked for you?)

Take the light out for starters. You can add a Light module and if needed, an AmbientLight module to the net. Collect these with your grid to send to Image. (Or just use the default light which you get for free without adding anything.)

However, that said, the problem is that you cannot declare "positions" as double. They must be float vectors. You will not be able to see the difference visually. DX is a visualization program, not an analysis program, so the roundoff should be no problem, as long as you don't expect to process data, Export it and preserve 'double' precision (cause you won't).


On Friday, Oct 31, 2003, at 15:01 America/New_York, Nacho Andres wrote:

Hi there!
I have a 3D position file (my nodes) and I do want to
get the connection among them (to better show the
grid). Thus I created a dx native file:

# Writing all the data:
object 1 class array type double rank 1 shape 3 items
208080 lsb ascii
data file fort.64

# The connections
object 2 class gridconnections counts 34 85 72

# The data in one to one correspondence with the
positions
# Writing all the data:
#object 3 class array type double rank 0 items 208080
data follows
# AQUI VAN LOS DATOS!!!!
# or:
object 3 class array type double rank 0 items 208080
lsb ascii
data file fort.66
attribute "dep" string "positions"

# with light
object 4 class light type distant
direction 0 0 1
color 250 150 100
# The field with the three components: "positions",
"connections", and "data". The name of the field will
be "Potential"
object "Potential" class field
component "positions" value 1
component "connections" value 2
component "data" value 3
component "light" value 4

end


and probably because of a really stupid reason, I get:

"Bad positions/box type in bounding box"

It sounds to me that it means that I am getting off
the boundaries with one/several points, but I have
checked it up and is not. Besides I am telling it to
count the correct number of times, so it cannot be
that ..
ummhh ... some ideas?

Thanks in advance
Nacho

______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/



____________________________
Chris Pelkie
Vice President
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850

Reply via email to