Forums » Air Combat & Civil Aviation » European Air War » 3dz Studio Code Help Active Topics You are not logged in. [Log In] [Register User]
Page 3 of 3 < 1 2 3
Topic Options
Rate This Topic
Hop to:
#3545860 - 03/27/12 04:23 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
What I have found is that there are a lot of lines like this:

glPolygonMode faceFront, pgmFILL

No reference is made to pgmFILL as a routine in the source code, and after some searching I have found that it is part of the Open GL library system.
Many of the calls and parameters are from this, and as a result they may be built in. I have no knowledge of this area at all.

http://www.opengl.org/sdk/docs/man/xhtml/glPolygonMode.xml

I am trying to find where the fill colour comes from.

wink Jel



Edited by MrJelly (03/27/12 04:40 AM)
Edit Reason: Link added
_________________________
EAW upgrades (1.28E), scenario installations, and links: DropBox links and FileCloud links

The best EAW online games are at GameRanger: GameRanger Site

Teamspeak 3 channel: 62.48.74.45:8769

Now you can join a running game, and even use multiple controllers smile



Top
#3545899 - 03/27/12 07:56 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
Col. Gibbon Online   hick
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11942
Loc: Fleet, Hampshire, England.
Hi Tony.

Thanks for your time on this problem, I wish I was able to look around the web to see what info I could find.

But my chest is very painful lying on my side, which is the only way I can see my monitor. I can't see myself getting better very fast. frown
_________________________
Just remember, "No Matter How Little I have Done, It's All The Less For You To Do" biggrin

Wings Over Bytom

Single parent, bringing up my great kids, Thomas, Jessica & Nicola, and trying to do his best all the time.

Top

#3545911 - 03/27/12 08:24 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
MrJelly Online   content
Hotshot

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
Do not worry John, just get better.

There are a number of colour settings like this, and glColor3f seems to be the only type used:

glColor3f 1#, 0#, 0#

Three floating point values for R,G,B and they are used for filling polygons, such as when an element is selected and it appears red.
I have done a few experiments with it. However, I suspect that in the case of a coloured polygon the program cannot translate the colour value from the file (in the colour box) into something meaningful in terms of display.

wink Tony

_________________________
EAW upgrades (1.28E), scenario installations, and links: DropBox links and FileCloud links

The best EAW online games are at GameRanger: GameRanger Site

Teamspeak 3 channel: 62.48.74.45:8769

Now you can join a running game, and even use multiple controllers smile


Top
#3545980 - 03/27/12 11:09 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
Col. Gibbon Online   hick
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11942
Loc: Fleet, Hampshire, England.
I might be going into hospital tomorrow, so If I loose contact, you'll know why.
_________________________
Just remember, "No Matter How Little I have Done, It's All The Less For You To Do" biggrin

Wings Over Bytom

Single parent, bringing up my great kids, Thomas, Jessica & Nicola, and trying to do his best all the time.

Top
Page 3 of 3 < 1 2 3
Topic Options
Rate This Topic
Hop to:

Moderator:  RacerGT, Sandbagger 
 

Forum Use Agreement | Privacy Statement
Copyright 1997-2013, SimHQ Inc. All Rights Reserved.