Game Development Community

Client-only rendering

by Ricky Taylor · in Torque Game Engine Advanced · 02/18/2007 (6:12 am) · 7 replies

How do I put a whole scene in the client scenegraph and render it?

I want to have a 3D background for the main menu.

I don't want to used GameTSCtrl because that involves starting a server just for the main menu. (Though if there is no better way, a stripped way of doing this would be nice!)

I've tried creating a ClientTSCtrl, that renders gClientSceneGraph, but I have no idea how to put my scene in the client scenegraph.

Has anyone tried anything similar to this?

I have searched TDN and GG.com to no avail. I found the TicTacToe demo, but that doesn't use scenegraphs. (And skies cannot be rendered manually...?)

Thanks in advance.

-- Ricky

#1
02/18/2007 (10:44 am)
Hmm very interesting. I can think of may cool possiblities for this. are you think of something like the menues in the latest tombraider?
#2
02/18/2007 (11:24 am)
I haven't played the latest tomb-raider, unfortunately but I assume you mean threeDee animated menus.

Think Half-Life2 style, it won't be the same, but its that kind of idea. I just don't want any of the networking stuff, and I only need to render a relatively simple scene.
#3
02/18/2007 (2:49 pm)
Well the background is a a camera view of the last level you played and in full game render LC is standing onscreen wearing what ever the outfit for that level.

it is a very nice looking menu system it is very impressive.


img.photobucket.com/albums/v669/Selene232/Tomb%20Raider%20Legend/Boliviamainmenu.jpgimg.photobucket.com/albums/v669/Selene232/Tomb%20Raider%20Legend/Nepalmainmenu.jpgimg.photobucket.com/albums/v669/Selene232/Tomb%20Raider%20Legend/Kazakhstanmainmenu.jpg
so it shows the main area of that level and how the main character looks for that level in the main menu. it is pretty sweet.
#4
02/19/2007 (11:44 am)
Ok so we hacked this up for Marble Blast Ultra and made a preview server on game load. When the client was in the menus, it would connect to the local preview server, when it went out to a multi-player game, the connection would just be made to a remote server. It worked pretty well. I would try that.
#5
02/19/2007 (1:10 pm)
Yeah I guess just make a really simplified level for use in your menu
#6
02/19/2007 (1:17 pm)
Or take a look at how GuiObjectView works and go from there.
#7
02/20/2007 (9:37 am)
I suppose if I use a server, I will be able to load mission files normally. Will try that.

Thank you. :)