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

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
I'll have a look later today when I have finished transferring stuff and setting up this PC.

wink Jel
_________________________
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
#3544743 - 03/25/12 04:19 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
MrJelly Offline
Hotshot

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
You will have to do this because I have no means of testing the result, if that makes sense.
However, my first guess is here:

Code:
Private Sub SetElementCode_3DZ(m As Model_3DZ, elem As Integer, piggy As Integer)
Dim j As Integer

    ' Check what type of element this is
    With m.elem(elem).Elems(piggy)
        Select Case .cod
            Case ELEM_COLOUREDLINE
                ReDim .nod(2)               ' 2 Nodes
                .nod(0) = 0
                .nod(1) = 0
                .crn = 2
                .att(0) = 0                 ' Colour Index


The critical thing is the .att(0) value which is being set to zero in the last line
You may need to check other occurrences where the the .att(0) value is set for a single line.
What I do in VB is to copy a line and paste it so that I have two identical ones.
Then I put the ' (like the one in ' Colour Index) before one of them so that it is remmed out, but not lost.
Then I edit the other one and run the program to see what happens.

Cheers, and best wishes for a speedy recovery from the sunny South of France smile

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

#3545211 - 03/26/12 02:59 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
MrJelly Offline
Hotshot

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
Can you please send me a small set of 3dz files and all their corresponding PCX files which have coloured lines/polygons so that I can see the problem.
Hoping that you are on the improve smile

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
#3545235 - 03/26/12 05:06 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
Col. Gibbon Offline
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11942
Loc: Fleet, Hampshire, England.
Death bed Calling!

Please check your box at the ftp for a file called "secial test model"

Death bed out. smile
_________________________
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
#3545239 - 03/26/12 05:13 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
Col. Gibbon Offline
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11942
Loc: Fleet, Hampshire, England.
I've just sent you my latest 3dz Studio code, with the new 3ez's added. wink
_________________________
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
#3545470 - 03/26/12 12:48 PM Re: 3dz Studio Code Help [Re: Col. Gibbon]
MrJelly Offline
Hotshot

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
OK thanks. I have got them and am running the studio, with the "secial test model" loaded.
The only element which is of interest seems to be #50 which is the only coloured polygon, and there are no coloured lines.

This is what I see:




I presume that the red, blue, and green lines are the axes, but there is no polygon visible, and that is the problem.
Am I right in thinking that if it were a textured polygon it would draw it?

wink Jel
_________________________
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
#3545484 - 03/26/12 01:18 PM Re: 3dz Studio Code Help [Re: Col. Gibbon]
MrJelly Offline
Hotshot

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
There is no wire frame drawn for this element, even when it is a textured poly.
Mind you I do not know much about using the studio, so I may not have clicked in the right places.
I need to find the wire frame drawing routine.

wink Jel
_________________________
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
#3545509 - 03/26/12 01:57 PM Re: 3dz Studio Code Help [Re: Col. Gibbon]
Col. Gibbon Offline
3DZ Model Builder
Veteran

Registered: 06/04/01
Posts: 11942
Loc: Fleet, Hampshire, England.
You have got the same as me, just the normal lines, but if you go throgh the model, and check the piggybacks you'll find a code 4 element, 38/1, top wing left side, and two wires 39/1 and 42/1. wink
_________________________
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
#3545844 - 03/27/12 02:51 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
MrJelly Offline
Hotshot

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
OK I have found those piggybacked lines, but have got no further in the search for the problem.
Obviously there is a routine somewhere for drawing the wire frame outlining the faces.
It does not appear to run with coloured polygons such as element #50.
If we can find that routine, and why it does not run with the coloured polygon then we would be getting somewhere.
However, at the moment it is like looking for a needle in a haystack.

wink
_________________________
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
#3545853 - 03/27/12 03:59 AM Re: 3dz Studio Code Help [Re: Col. Gibbon]
MrJelly Offline
Hotshot

Registered: 04/30/02
Posts: 6703
Loc: Caux L'Herault, France
Quote:
OK Tony.

While your looking see if you can enable colours on coloured polygons [code 3/4] and single lines [code 1]


Back to square1.
Because of your mention of coloured polygons I was focussing on these because they should be easier to see.
Hence my messing around with element #50.
Clearly it is showing up, if you are in the right perspective view, which I was not. However, as you say the correct colour is not showing.
I will continue to work on this because it is visible, then get back to lines if I can fix it.

wink
_________________________
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
Page 2 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.