Create a "z" finder..

Blitz3D Forums/Blitz3D Beginners Area/Create a "z" finder..

Azaratur(Posted 2008) [#1]
I want create a map/landscape editor, with an pre-builded map/landscape in b3d format.
I will use a top view and i want find the "entityy" of my map, because i need to "drop" tree, house, grass, etc. in it.
What way i can use to find the y value?

Thanks

Aza


puki(Posted 2008) [#2]
If it is a top view, wouldn't you want the Y value - ie the terrain height?


Ross C(Posted 2008) [#3]
Puki has a point ^_^. You might want to do a linepick straight down and grab the pickedY() value.


Azaratur(Posted 2008) [#4]
I am sorry and you have right.
I wann find the y value..
Thanks to every one, then i can pick it with linepick...
I'll try!
Thanks guys..

Just last question normally you both answer in less then 10 minutes, how you do it? :)

Aza


puki(Posted 2008) [#5]
By posting.


Azaratur(Posted 2008) [#6]
:)


Azaratur(Posted 2008) [#7]
Another question on it, i cant try it now i don't have blitz in the office..
in the line pick command i must insert a dx, dy, dz, but if i want create a perpendicular line from the top, i just insert like this
linepick,0,3000,0,0,-3000,0
It's correct?

Aza


andy_mc(Posted 2008) [#8]
Just last question normally you both answer in less then 10 minutes, how you do it? :)



By checking the forums obsessively 24 hours a day. I'd like the forums to email me when people reply to threads I've contributed to.


Ross C(Posted 2008) [#9]
That would produce a line pick starting at (0,3000,0) and going -3000 DOWNWARDS on the Y axis. I'm not sure what your after :o)


Azaratur(Posted 2008) [#10]
And that is exactly i want to do!!
Thanks Ross, but this time you are on late of 9 hours..
Too bad :)

Aza


Ross C(Posted 2008) [#11]
Gotta work man :o)


puki(Posted 2008) [#12]
I could have answered straight away - I read the post about 10 times.

I was playing hard-to-get.


Azaratur(Posted 2008) [#13]
Ross you can't work before answering me! :)
Puki i have a question for you, what program you use to create mesh?
I see one of your screenshoot, i see 3 person in it with cloth.
The question is do you use cloth modifer or you normally create a mesh by yourself for any cloth?

Aza


puki(Posted 2008) [#14]
I'm not sure which picture you mean.

Technically, I use the same software as do the artists at Bethesda Softworks and Arkane Studios, etc.

If you are talking about cloth as in a flag, a hanging banner, a cloak/cape on a character, whereby I want it animated then, I would code the cloth separately - this allows you to Level Of Detail the scene.