Anyone know O3D?!
Posted 13 September 2010 - 02:50 PM
as Im new to O3D I have troubles to get my app running. For testing-
purposes I converted a single 3D-object (floor, as a point of
reference) into an .o3dtgz-file. What I try to do is to control a
camera (fistperson-movement) to walk trough my app. Therefore I wrote
the basic HTML-code to load the .js- and .o3dtgz-files. The sourcecode
for the camera-motion I downloaded at: >>
(He seems to use an own API called "patapi". Maybe that causes some
troubles as well?! Very clever guy btw..)
My application shows the floor, so far. But I cant control the camera
because I probably pasted the code to the wrong spot. The URL to my
test-scene you can see here:
>> http://king-kool-koh...y.de/index.html <<
Feel free to browse and view the sourcecode. Help is needed here^^
1. Where to fit in the scribt "camera_firstperson_walk.js" correctly
(within the HTML-/JS-directory)?
2. What patapi/js-scribts have to be implemented for this?
3. What else do I have to provide to run this through? Do I need to
export a camera from (e.g.) 3ds max? Or does the camera occur within
As Im a 3D-Artist (no proger, yet) I find it hard to understand all
the tutorials (obviously written for progers only). Im looking forward
for your help.
Posted 14 September 2010 - 01:42 PM
Posted 14 September 2010 - 03:51 PM
So I wanted to do it in O3D first and then convert it to WebGL (as Im not too familar with the JavaScribts/dont know where to paste the scribts).. As it is very similar to WebGL, I suppose I can use the same scribt and put it in WebGL. Still I dont know where exactly, though..
Anyone know where to paste such a scribt in WebGL? Or anyone know a sample like the Cathedral in WebGL, so I can get the first-person-camera-movement?!
Thanks for help
Posted 15 September 2010 - 09:30 PM
I remember when I started writing game mods a decade ago I had the same issue. It's only after I really learned to program in C/C++ that I understood how the pieces fit together. And even today working with new code can still be pretty daunting.
Posted 16 September 2010 - 10:59 AM
See the scribt: http://patapom.com/O...tperson_walk.js
With a quick introduction where to paste it, I should get a good picture how to implement it by myself without learning the whole JS-stuff.. Anyway, I try to learn JS from here on. But I think it should work with a very basic knowledge for the thing I try to do here.
So, whenever someone know how to do a first-person-camera-movement in a plain area - please let me know how to do or share a whole scribt (prefered in WebGL)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users