Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411507 Posts in 69374 Topics- by 58429 Members - Latest Member: Alternalo

April 26, 2024, 12:24:35 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsDorothy Browser
Pages: [1]
Print
Author Topic: Dorothy Browser  (Read 1909 times)
aliceffekt
Level 4
****





View Profile WWW
« on: December 15, 2010, 02:44:16 PM »



Design : Devine Lu Linvega
Code : ZerozShadow & Renaud Bedard

--

OZML is a 3d xml language similar to 3dml and VRML.

I needed ozml to approach web design in a differently. I wanted to soften the gap between making 3d websites and the current 2d websites. For me, who is not much of a programmer, php is much easier to understand than C# and to connect to a db with C# the challenge seemed like a big leap.

But with this I can pull data from a db and create dynamic XML files. So the possibilities are huge for me now. This weekend I will create a Unity app to Vj at a local chiptune show and people in the crowd will be able to vote for some elements of the visuals with their phones. And I will definitely be using this to create persistant 3d worlds full of procedural things.

Here is an example:
Code:
<?php
$loop 
0;
while(
$loop<100){
   
$loop2 $loop-50;
   
$loop3 $loop*2;
   print 
'
<object 
   type="cube" 
   id="'
.$loop.'" 
   material="mat1" 
   size="2,'
.$loop.',2" 
   position="'
.$loop2.','.$loop2.',20" 
   rotation="'
.$loop3.',0,20"
></object>'
;
   
$loop++;
?>


will create something such as:



You can read the doc at http://wiki.xxiivv.com/Ozml.

We will publish a OZML browser(Dorothy) soon, you don't need to have Unity installed to create these environements, just a plain text file.





--

Download the Examples Files [Requires PHP and UnityPlayer] http://oz.xxiivv.com/recent.zip
Download the latest Dorothy http://oz.xxiivv.com/dorothy.unity3d
« Last Edit: December 17, 2010, 11:19:47 AM by aliceffekt » Logged

XXIIVV

Drypoint, Cyanosis, Kanikule, Valentinel, Pierrot Death, Zjeveni, Merveilles, Cenote, Cloud is a Lie, Pico³, Siseon°, Phloston Paradise, Volkenessen, FRACT, Waiting for Horus, Diluvium, Pico Battle, Hiversaires, Melady Antres.
Battle Lava
Level 0
*

▲▼◀ ▶


View Profile WWW
« Reply #1 on: December 16, 2010, 07:48:51 AM »

dude... yes.
Logged
aliceffekt
Level 4
****





View Profile WWW
« Reply #2 on: December 16, 2010, 08:17:12 AM »

You can see a working demo at http://oz.xxiivv.com/
reading the file http://oz.xxiivv.com/ozml.php

Smiley
« Last Edit: December 16, 2010, 09:07:03 AM by aliceffekt » Logged

XXIIVV

Drypoint, Cyanosis, Kanikule, Valentinel, Pierrot Death, Zjeveni, Merveilles, Cenote, Cloud is a Lie, Pico³, Siseon°, Phloston Paradise, Volkenessen, FRACT, Waiting for Horus, Diluvium, Pico Battle, Hiversaires, Melady Antres.
increpare
Guest
« Reply #3 on: December 16, 2010, 09:07:22 AM »

404?
Logged
aliceffekt
Level 4
****





View Profile WWW
« Reply #4 on: December 16, 2010, 12:03:20 PM »

I made a preliminary package if you want to try it out.

Download the Latest Build(300kb).

it contains 5 files

Code:
crossdomain.xml (no edits)
dorothy.unity3d (no edits)
index.php (stylize)
ozml.php (Build Scene in this)
ozmlObjects.php (Make functions if you want)


Have fun !
Logged

XXIIVV

Drypoint, Cyanosis, Kanikule, Valentinel, Pierrot Death, Zjeveni, Merveilles, Cenote, Cloud is a Lie, Pico³, Siseon°, Phloston Paradise, Volkenessen, FRACT, Waiting for Horus, Diluvium, Pico Battle, Hiversaires, Melady Antres.
aliceffekt
Level 4
****





View Profile WWW
« Reply #5 on: December 16, 2010, 12:38:22 PM »

<2minutes later>
Haha already an update..

I've gotten a few bug reports already.


- Fixed the inverted normals
- Alpha Disabled for now
- Fixed an error in the php
- Added Ring as Object Type=""
- Hid the Mouse
- Press "i" for version info


Download the Latest Dorothy - http://oz.xxiivv.com/dorothy.unity3d [Right-Click Save as]
« Last Edit: December 16, 2010, 02:37:33 PM by aliceffekt » Logged

XXIIVV

Drypoint, Cyanosis, Kanikule, Valentinel, Pierrot Death, Zjeveni, Merveilles, Cenote, Cloud is a Lie, Pico³, Siseon°, Phloston Paradise, Volkenessen, FRACT, Waiting for Horus, Diluvium, Pico Battle, Hiversaires, Melady Antres.
aliceffekt
Level 4
****





View Profile WWW
« Reply #6 on: December 16, 2010, 08:15:36 PM »



The fog is a bit tricky, 0.015 is a good setting.

Code:
<scene background="240,240,240" fog="240,240,240,0.015" fov="60" />
Logged

XXIIVV

Drypoint, Cyanosis, Kanikule, Valentinel, Pierrot Death, Zjeveni, Merveilles, Cenote, Cloud is a Lie, Pico³, Siseon°, Phloston Paradise, Volkenessen, FRACT, Waiting for Horus, Diluvium, Pico Battle, Hiversaires, Melady Antres.
zeroZshadow
Level 0
*



View Profile
« Reply #7 on: December 17, 2010, 11:18:23 AM »

Heya zeroZshadow here, the programmer on this project.

There has been some nice progress.
Mouse now locks, so its easyer to look around
The world updates itself every 10 seconds.
you can hit I to see what version you are running (so if you vind a bug, please say the version)
For everyone creating worlds themselfs, you can now hit R to force it updating ^^ no need to wait 10 seconds.

Still trying to fix some smaller bugs like the breaking camera rotation, but slowly getting somewhere.
Logged
XRA
Level 4
****

.


View Profile WWW
« Reply #8 on: December 17, 2010, 05:20:01 PM »

that's really cool and useful, I haven't messed much with unity's networking and didn't realize it could allow for these sorts of things Smiley
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic