Need input on a project
Page 1 of 1
BearishSun




Posts: 4484

PostPosted: Fri, 4th Jul 2014 11:54    Post subject: Need input on a project
I'm planning on publishing an open source project soon, and I'm hoping to get some input on the example program I'll be providing with it.

I'm interested how easy or hard it is to understand for someone seeing it first time, and what improvements can be made:

http://pastebin.com/bqU35mWk

This is pretty much the first thing the users will see and I want it to be as good as possible.

The project is a game development toolkit. The example is a simple application where you import a model, texture, a shader and set it up for rendering along with some GUI elements. I expect people reading it to have C++ experience.
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Fri, 4th Jul 2014 14:03    Post subject:
Looks good to me mate, although from a purely cosmetical point of view, even for a simple demo like this I'd personally still organise it a bit further. Not necessarily into files (as that'll impede the simplicity), but rather into more functions. I think that would make it a bit more legible, but that's just me Smile
Back to top
BearishSun




Posts: 4484

PostPosted: Fri, 4th Jul 2014 14:27    Post subject:
Thanks for looking at it. More functions makes sense, I'll do that.
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Fri, 4th Jul 2014 14:41    Post subject:
Some of the stuff that you consider to be created mandatory, can't you let that get created automatically and just provide an easy way to access those objects?

F.e. the camera is mandatory? Great, auto create it as part of your scene and do all stuff like registration on the scene automatically Smile


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
BearishSun




Posts: 4484

PostPosted: Fri, 4th Jul 2014 16:03    Post subject:
Camera is not a requirement actually. You can ignore the high level GameObject stuff (SceneObject, Camera) and just access the rendering functionality directly if someone wishes.

Once I build a higher layer of the toolkit in the form of an editor, then I will definitely add a Camera in the scene on start-up, so thanks for the suggestion Smile
Back to top
[mrt]
[Admin] Code Monkey



Posts: 1342

PostPosted: Sat, 2nd Aug 2014 20:59    Post subject:
@BearishSun looks ace. Can't wait to see what you end up with. How is it coming along? Have any demos i can see? Smile


teey
Back to top
BearishSun




Posts: 4484

PostPosted: Mon, 4th Aug 2014 13:31    Post subject:
Thank you mrt! I have it published on github if you want a closer look: https://github.com/BearishSun/BansheeEngine , but nothing visual yet - just code. It's currently a mid-level library but I'm working on higher level features so I have something to show off. Hopefully next year.
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group