Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Simple 3D sandbox

Author
Message
Le Verdier
7
Years of Service
User Offline
Joined: 10th Jan 2012
Location: In the mosh-pit
Posted: 26th Jan 2012 17:35 Edited at: 9th Jun 2012 21:57
Original post moved to #2

Sandbox update
(06/09/12)
-New project/Load project : fixed
-New menus and rightclick menus
-Mouseclick select entity
-Editor light
-Global Axis

previous updates:
(05/31/12)
Entity system
-Entity definition and loading
-Select and group select (In the treeview)
-Position/Rotate/scale
-Gizmos

Included SampleProject.sbx


Entities are module based: by adding a module file (.sbm) in the entity folder, some properties are added to the entity.


Right now, 3 modules type are available:
-MakeObject(with variants MakeObject_Cube, MakeObject_Sphere, MakeObject_Cone, MakeObject_Cylinder): Self-explanatory
-Transform: Give ability to be positioned/Rotated/Scaled
-Gizmo: Give ability to be positioned/Rotated/Scaled from the editor with the gizmos (req Transform to work)


(04/23/12)
- Source updated with the new commands of BBB GUI (at least 04/08/12)

(05/06/12)
-Camera locations
-File New/Open/Save
Now requires the IanM's Matrix1DLLs (and msrt71 redist)


Four camera location are now available with icons 1,2,3,4. Copying and reseting location are possible by a right click menu on these icons.

File handling started. Right now, that is only about the camera locations.
The data is saved into a INI like file.

Because I'm improvising (I've some ideas but nothing definitive) and releasing this WIP step by step, some functionalities I planned are just started, visible, but not functional yet.
It is the case of the Entity system ([Entities]/Path property in the saved file).
By "Entity", I mean: "Something in the 3D space".
Entities will be stored in a specific folders (Folder name=entity name with nnn- prefix, to allow sorting) which will contain the data and/or other entities.
It is this folder hierarchy which is shown in the blue treeview on the right.


Download
Requires BBB GUI, IanM's Matrix1DLLs To compile

Attachments

Login to view attachments
Le Verdier
7
Years of Service
User Offline
Joined: 10th Jan 2012
Location: In the mosh-pit
Posted: 30th Jan 2012 17:13 Edited at: 23rd Apr 2012 20:14
Original post:

This project has no actual defined purpose.
Actually, it can be used as a basis for another application.
What it performs is elementary: a scene is created in CreateScene() function then after compiling,
this scene can be explored with several camera motions
I've planned to add more functionalities such as a better button sytem, object placement/rotate/scale, skybox..
I'll also write some snippets which will focus on different aspect of the code
Windowing framework with BlueGUI
Orbit camera motion

are already available and I'm also thinking about using another windows system than BlueGUI

Feel free to comment or suggest functionality!!

Le Verdier
7
Years of Service
User Offline
Joined: 10th Jan 2012
Location: In the mosh-pit
Posted: 28th Feb 2012 16:26 Edited at: 28th Feb 2012 18:17
here's an update of simple sandbox
Buttons are now provided with icons and tooltip!



Attachments

Login to view attachments
Morcilla
16
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 11th Mar 2012 12:13 Edited at: 11th Mar 2012 12:27
This looks cool to me, but I'm not able either to run the .exe or to compile the source code, I got "cannot find USkin.dll" and then "failed to load (1:BBB GUI.dll)".

I already put latest 'BBB GUI.dll' in the DBPro 'plugins-user' folder, but I don't know about that 'USkin.dll', what is it?

Please can you advice? Thanks

[Edit: Found USkin.dll here USkin Wrapper for Darkbasic GUIs, it runs and compiles, althought it gives an error when launching from DBPro, but it works.]

JosephB
13
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 12th Mar 2012 10:18
@Morcilla,

The USkin.dll is a DLL that comes with BBB GUI. It needs to go in the same folder as the .DBA file.
Le Verdier
7
Years of Service
User Offline
Joined: 10th Jan 2012
Location: In the mosh-pit
Posted: 12th Mar 2012 20:26
Oops, I've forgotten to include USkin.dll

Just get it with the link above and put it in the folder or system32 folder..

Le Verdier
7
Years of Service
User Offline
Joined: 10th Jan 2012
Location: In the mosh-pit
Posted: 31st May 2012 20:23 Edited at: 10th Jun 2012 13:52
Sandbox update
(05/31/12)
Entity system
-Entity definition and loading
-Select and group select (In the treeview)
-Position/Rotate/scale
-Gizmos

Included SampleProject.sbx


Entities are module based: by adding a module file (.sbm) in the entity folder, some properties are added to the entity.


Right now, 3 modules type are available:
-MakeObject(with variants MakeObject_Cube, MakeObject_Sphere, MakeObject_Cone, MakeObject_Cylinder): Self-explanatory
-Transform: Give ability to be positioned/Rotated/Scaled
-Gizmo: Give ability to be positioned/Rotated/Scaled from the editor with the gizmos (req Transform to work)

Le Verdier
7
Years of Service
User Offline
Joined: 10th Jan 2012
Location: In the mosh-pit
Posted: 10th Jun 2012 13:52
Sandbox update
(06/09/12)
-New project/Load project : fixed
-New menus and rightclick menus
-Mouseclick select entity
-Editor light
-Global Axis

Fluffy Rabbit
User Banned
Posted: 14th Jun 2012 02:15
Wouldn't it be cool if you wrote an import library for DBP and DBC (and possibly another for DGDK) to load in your scene and set up the objects and everything? Who knows? It might even evolve into a full game engine.
Le Verdier
7
Years of Service
User Offline
Joined: 10th Jan 2012
Location: In the mosh-pit
Posted: 14th Jun 2012 16:57
Why not..
I've started this WIP from a simple scene explorer and I would like now to bring it to a "scene layout editor"
I don't know how far I shall be able to write this..
The fact is this kind of software is usually relying on an existing engine (which are often designed and optimized for a of specific game)
so it can be difficult to make something polyvalent AND useful
But I want to make it "open" and easy to add new features together with easy to read scene data,
to aid the writing of such "import library"...

Login to post a reply

Server time is: 2019-10-16 06:39:54
Your offset time is: 2019-10-16 06:39:54