Search found 34 matches

by DrAnonymous
Tue Sep 13, 2005 9:47 pm
Forum: Bug reports
Topic: openGL Driver Not Drawing Colored Lines
Replies: 2
Views: 460

Outstanding! This also fixed my translation problem in the beginner forum!

Cheers,
Dr. A>
by DrAnonymous
Tue Sep 13, 2005 8:45 pm
Forum: Open Discussion and Dev Announcements
Topic: Feature Request: setting line widths
Replies: 3
Views: 333

Feature Request: setting line widths

Could a new method be added to IVideoDriver to allow setting the line width?

Something like -

draw3DLine(vector3df start, vector3df end, SColor color, f32 thickness)

The thickness could default to 1.

Cheers,
Dr. A>
by DrAnonymous
Tue Sep 13, 2005 8:40 pm
Forum: Bug reports
Topic: openGL Driver Not Drawing Colored Lines
Replies: 2
Views: 460

openGL Driver Not Drawing Colored Lines

I have an app which draws colored lines after the smgr->drawAll() call. When I use the openGL driver, the lines are always black no matter what color I set them to. If I use the software renderer, they are colored properly. Is the render state not being set properly? I tried moving the line drawing ...
by DrAnonymous
Tue Sep 13, 2005 8:32 pm
Forum: Beginners Help
Topic: 3D Lines are translating - Need it to stop
Replies: 1
Views: 154

3D Lines are translating - Need it to stop

I want to draw 3d lines to show a path. The coordinates I have are in world space. I can get the lines to draw, but they translate with the object I'm moving. In pseudo code I have this - driver->beginScene(xxxx); smgr->drawAll(); - drawPoints here - env->drawAll(); driver->endScene(); I tried just ...
by DrAnonymous
Wed Sep 07, 2005 5:43 pm
Forum: Bug reports
Topic: Not Implemented: vsync for Linux
Replies: 0
Views: 291

Not Implemented: vsync for Linux

It appears enabling vsync is not currently supported for Linux. Can anyone confirm this?

Anyone have some code to do so?

Thanks,
Dr. A>
by DrAnonymous
Wed Sep 07, 2005 5:17 pm
Forum: Beginners Help
Topic: Creating SceneNodes when loading Meshes
Replies: 1
Views: 164

Creating SceneNodes when loading Meshes

I want to create a hierarchy of SceneNodes when I load a 3d Model, because I need to apply rotations and such to sub-nodes. Since Meshes aren't Nodes, whats the best way to do this? I was in the middle of writing a model loader, when I realized I need to create nested scene nodes. Am I missing somet...
by DrAnonymous
Wed Sep 07, 2005 5:14 pm
Forum: Open Discussion and Dev Announcements
Topic: Feature Request: getSceneNodeFromName()
Replies: 4
Views: 547

I think there is an error in your code. :? You aren't keeping track of the return from the recursive call. You have this - //!Returns the first scene node with the specified Name. // if any node has a children apply this function for children by recursion if(!current->getChildren().empty()) { getSce...
by DrAnonymous
Wed Sep 07, 2005 3:48 pm
Forum: Open Discussion and Dev Announcements
Topic: Feature Request: getSceneNodeFromName()
Replies: 4
Views: 547

Feature Request: getSceneNodeFromName()

The interface for scene manager has this method - ISceneNode* getSceneNodeFromId(s32 id, ISceneNode* start) I am writing a FLT loader, which has sub groups/nodes. The nodes are named, so I want to be able to load the model and then be able to get a specific sub-node by name from the scene manager. C...
by DrAnonymous
Fri Aug 26, 2005 3:21 am
Forum: Bug reports
Topic: FileDialog Not Working Under Linux
Replies: 8
Views: 1084

Dohh! 0.12 Is still broke

The new 0.12 release updated the code, but it missed a few important lines. :( It needs the following before the while() - // Add default parent - even when at /, this is available entry.Name = ".."; entry.Size = 0; entry.isDirectory = true; Files.push_back(entry); Without it, you can't na...
by DrAnonymous
Thu Aug 25, 2005 6:58 pm
Forum: Open Discussion and Dev Announcements
Topic: Adding support for the FLT model format
Replies: 0
Views: 260

Adding support for the FLT model format

Does anyone else use this file format? I'd really like to see it in the codebase and can work on it, if others will use it as well.

Any input?

Heres a link to the specs -

http://www.openflight.com/support/dc_standards.shtml

Cheers,
Dr. A>
by DrAnonymous
Tue Aug 23, 2005 12:08 am
Forum: Beginners Help
Topic: Fonts / Text Gets Distorted When Resizing a Window
Replies: 1
Views: 148

Fonts / Text Gets Distorted When Resizing a Window

When I resize the window, the text will often times become distorted. Is there anyway around this? I need crisp fonts for my application.

Anyone have any suggestions?

Dr. A>
by DrAnonymous
Mon Aug 22, 2005 11:57 pm
Forum: Beginners Help
Topic: Using GUI Causes Performance Hit?
Replies: 8
Views: 409

I get 3000'ish when using the MeshViewer example. When using example 04, I get around 250fps. It isn't spikes, it stays constant and changes as I would expect depending on what I have in view (more in view slightly lower frame rate, less in view, slightly higher) So maybe there's something about the...
by DrAnonymous
Mon Aug 22, 2005 11:34 pm
Forum: Beginners Help
Topic: Using GUI Causes Performance Hit?
Replies: 8
Views: 409

I'm guessing that at only 90 fps you are using a hardware vsync or the sleep you were talking about in the other thread.

My app is roughly the same as the mesh viewer, which does give me around 3000 fps.

Anyone else experience changes when using lots of GUI elements?

Dr. A>
by DrAnonymous
Mon Aug 22, 2005 10:17 pm
Forum: Beginners Help
Topic: Using GUI Causes Performance Hit?
Replies: 8
Views: 409

Using GUI Causes Performance Hit?

I noticed the Meshviewer example takes a big framerate hit when the toolbox is open. I go from 2000'ish frames to 800'ish. I was creating a custom window with some static text boxes on it and noticed my frame rate dropped from 3000'ish to 200'ish. It only has the window and 2 static text boxes! Anyo...
by DrAnonymous
Sat Aug 20, 2005 5:13 am
Forum: Beginners Help
Topic: 100% CPU usage
Replies: 25
Views: 1210

Mid - Why are you swearing and acting all nutty? People are trying to give you more info about how Sleep() affects a system. Sleeping and yielding threads are not difficult concepts, but understanding the larger picture of when to do things is another matter. I'd like to have a way of telling the ir...