3D data display

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
HiGuys
Posts: 3
Joined: Wed Jul 27, 2016 11:20 pm

3D data display

Post by HiGuys »

Hi guys.

Im trying to display 3D data from 2D array.

Data will display like this : array [x axis][Y axis] , and the value of array will be z axis.
(X axis and Y axis : 0~ 255)

i tried to use Expamle 23 (SMesh Handling), but when i tried to use that example code, i can not move position in maya camera(i have to use maya camera)
-> always (0,0) is array [0][0], i want to set (0,0) as array [127][127]

so im trying to find another way to display 3d data.

i just started a week ago.

So please let me know the easiest way to display 3D data.

Thanks!
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: 3D data display

Post by CuteAlien »

camera->setPosition and camera->setTarget are not working?

(also might be easier just using a bunch of cubes for each data element)
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
HiGuys
Posts: 3
Joined: Wed Jul 27, 2016 11:20 pm

Re: 3D data display

Post by HiGuys »

CuteAlien wrote:camera->setPosition and camera->setTarget are not working?

(also might be easier just using a bunch of cubes for each data element)
yes it didnt work.
i think in maya camera, set Position doesnt work. only setTarget works.
Post Reply