| View previous topic :: View next topic |
| Author |
Message |
U-421
Joined: 14 Sep 2002 Posts: 139
|
Posted: Sun Nov 23, 2003 11:09 pm Post subject: |
|
|
Yeah, that worked
I'm gonna have to get the license or whatever for Christmas, I looked at my funds and I've only got $25  |
|
| Back to top |
|
 |
Mike 'Red Ocktober' Hense
Joined: 21 Sep 2001 Posts: 1262 Location: NY USA
|
Posted: Mon Nov 24, 2003 11:38 am Post subject: |
|
|
sorry guys I've been missing this...
seems as if you got everything squared away though... good
I am a lil busy, but I will make a point to browse this thread and try to answer any questions (the ones that I can) about Blitz, or at least point you to someone who can.
Good Luck
--Mike |
|
| Back to top |
|
 |
Deamon
Joined: 30 Apr 2002 Posts: 2302 Location: Germany
|
Posted: Mon Nov 24, 2003 2:54 pm Post subject: |
|
|
| U-421 wrote: | Yeah, that worked
|
Nice So the problem seems to be the texture or something around it,we should take a closer look at it now.What is your spec ? and how big is your texture ?
| Quote: |
I'm gonna have to get the license or whatever for Christmas, I looked at my funds and I've only got $25  |
How old are you fellow ?
Deamon |
|
| Back to top |
|
 |
U-421
Joined: 14 Sep 2002 Posts: 139
|
Posted: Mon Nov 24, 2003 7:46 pm Post subject: |
|
|
oo boy..
specs:
2.4 GHZ
80GB Hard Disk Drive
512 MB Ram
Radeon 9000
Win-XP
Texture size:
66kb 256x256
And how old I am.. well, legally enough to drive, young enough to still be in school  |
|
| Back to top |
|
 |
Deamon
Joined: 30 Apr 2002 Posts: 2302 Location: Germany
|
Posted: Mon Nov 24, 2003 8:22 pm Post subject: |
|
|
Ok lets figure out what is wrong here:
;------------ Create a plane ---------------
OceanTexture=LoadTexture("grass.bmp")
ScaleTexture OceanTexture,20,20
Ocean=CreatePlane(16)
EntityTexture Ocean,OceanTexture
PositionEntity Ocean,0,0,0
;----------------------------
First try uncomment the above code and try to change the parameters in this line:
ScaleTexture OceanTexture,20,20
for example:
ScaleTexture OceanTexture,6,6
Does it work now ?
Deamon |
|
| Back to top |
|
 |
U-421
Joined: 14 Sep 2002 Posts: 139
|
Posted: Tue Nov 25, 2003 12:48 am Post subject: |
|
|
| Yep, both work, except the grass.bmp texture isn't showing up. It's all blue background. |
|
| Back to top |
|
 |
Deamon
Joined: 30 Apr 2002 Posts: 2302 Location: Germany
|
Posted: Tue Nov 25, 2003 2:00 am Post subject: |
|
|
| U-421 wrote: | | Yep, both work, except the grass.bmp texture isn't showing up. It's all blue background. |
You mean the previous code that produced an error works too now ?
Try to play around with different values and report me the result.
Deamon |
|
| Back to top |
|
 |
U-421
Joined: 14 Sep 2002 Posts: 139
|
Posted: Tue Nov 25, 2003 7:02 pm Post subject: |
|
|
| Code: | ;------------ Create a plane ---------------
OceanTexture=LoadTexture("grass.bmp")
ScaleTexture OceanTexture,20,20
Ocean=CreatePlane(16)
EntityTexture Ocean,OceanTexture
PositionEntity Ocean,0,0,0
;----------------------------
|
Works, and I changed some stuff in it, the only thing is, is that the grass.bmp doesn't load up.. It's in the folder and everything, just nothing shows up, no errors either. |
|
| Back to top |
|
 |
Deamon
Joined: 30 Apr 2002 Posts: 2302 Location: Germany
|
Posted: Tue Nov 25, 2003 8:44 pm Post subject: |
|
|
Copy and paste the code below:
;===========================
;------------ Set grafics mode ---------------------
Graphics3D 1024,768,16,1
SetBuffer BackBuffer()
;------------ Create a plane ---------------
OceanTexture=LoadTexture("grass.bmp")
ScaleTexture OceanTexture,20,20
Ocean=CreatePlane()
EntityTexture Ocean,OceanTexture
PositionEntity Ocean,0,0,0
;------------ Create a view -----------------
View1=CreateCamera()
PositionEntity View1,0,180,0
CameraClsColor View1,38,88,155
CameraRange View1,1,1000
;------------ Create light ------------------------
Sun=CreateLight(1)
PositionEntity Sun,0,1000,0
LightRange Sun,2000
Repeat
UpdateWorld
RenderWorld
Flip
Until KeyHit(1)
;===========================
Do the texture show up ?
If not then replace the code line below:
PositionEntity View1,0,180,0
with this one:
PositionEntity View1,0,-180,0
Does it work ?
What you can also do is try to make some more textures in different sizes also open the grass.bmp with paint and check that everything is ok with it.
BTW:How many starts are left ?
Deamon |
|
| Back to top |
|
 |
U-421
Joined: 14 Sep 2002 Posts: 139
|
Posted: Fri Nov 28, 2003 1:17 pm Post subject: |
|
|
That works but it must be like a really high resolution or something because the ground is really far down, but yeah I see the texture.
Also, I have 23 starts left, a lot more than I thought I had.
Whats next ?
And thanks for your patience and everything Deamon.. |
|
| Back to top |
|
 |
U-421
Joined: 14 Sep 2002 Posts: 139
|
Posted: Fri Nov 28, 2003 1:40 pm Post subject: |
|
|
Sorry, but I just made a model (err rather a couple) of some dragon's teeth, or anti-tank concrete barricades that are located along the Siegfred line, do you think we could put these in somewhere?
Render of the Dragon's teeth with texture.
 |
|
| Back to top |
|
 |
Deamon
Joined: 30 Apr 2002 Posts: 2302 Location: Germany
|
Posted: Fri Nov 28, 2003 9:17 pm Post subject: |
|
|
| U-421 wrote: | That works but it must be like a really high resolution or something because the ground is really far down, but yeah I see the texture.
Also, I have 23 starts left, a lot more than I thought I had.
Whats next ?
And thanks for your patience and everything Deamon.. |
NP
Can you specifie the circumstances under whitch it did work mroe ditailed ?
Deamon |
|
| Back to top |
|
 |
Deamon
Joined: 30 Apr 2002 Posts: 2302 Location: Germany
|
Posted: Fri Nov 28, 2003 9:37 pm Post subject: |
|
|
| U-421 wrote: | Sorry, but I just made a model (err rather a couple) of some dragon's teeth, or anti-tank concrete barricades that are located along the Siegfred line, do you think we could put these in somewhere?
Render of the Dragon's teeth with texture.
|
I first need to know why the plane texture show up this time.
But else concerns the dragonteeth well you can save one of them and put them one by one in to the scene or save the whole field and then put them as a field in to the game.What would you preffer ?
Deamon |
|
| Back to top |
|
 |
U-421
Joined: 14 Sep 2002 Posts: 139
|
Posted: Fri Nov 28, 2003 10:07 pm Post subject: |
|
|
Well, copied and pasted the last thing you gave me.
Here it is if you can't remember..
;===========================
;------------ Set grafics mode ---------------------
Graphics3D 1024,768,16,1
SetBuffer BackBuffer()
;------------ Create a plane ---------------
OceanTexture=LoadTexture("grass.bmp")
ScaleTexture OceanTexture,20,20
Ocean=CreatePlane()
EntityTexture Ocean,OceanTexture
PositionEntity Ocean,0,0,0
;------------ Create a view -----------------
View1=CreateCamera()
PositionEntity View1,0,180,0
CameraClsColor View1,38,88,155
CameraRange View1,1,1000
;------------ Create light ------------------------
Sun=CreateLight(1)
PositionEntity Sun,0,1000,0
LightRange Sun,2000
Repeat
UpdateWorld
RenderWorld
Flip
Until KeyHit(1)
;===========================
This works, and I played with some of the code a lil bit but always changed it back. So I have exactly whats above.
I'd prefer to put them in as a field, as that's what it is. Just several boxes modified to make the shape and then duplicated and moved to create the model.
I've also made it so then it's uneven sides so I can add on.
For example, I hope this works.. It's currently like this
- - - -
- - - -
Now if I wanted to put it in and make it longer instead of modifying the model I could just add the model again, if you can do this. - is the original dragon tooth, = is the new dragon tooth composed of the second model.
- - - - = = = =
- - - - = = = = |
|
| Back to top |
|
 |
Deamon
Joined: 30 Apr 2002 Posts: 2302 Location: Germany
|
Posted: Fri Nov 28, 2003 11:22 pm Post subject: |
|
|
| U-421 wrote: | Well, copied and pasted the last thing you gave me.
Here it is if you can't remember..
|
I can remember but i showed you several ways and you didn't specified the one that worked.
You must know that the plane don't show up as soon as you go below it with the camera.It's what is called backface culling,the reverse site of the face is beig cutted out.I have suspected that the camera was mybe placed to low and the plane disapeared.Thats why i have increased the altitude of the camera in the last code.
PositionEntity View1,breadth,hight,deapth
But anyway lets move along.
| Quote: |
I'd prefer to put them in as a field, as that's what it is. Just several boxes modified to make the shape and then duplicated and moved to create the model.
I've also made it so then it's uneven sides so I can add on.
For example, I hope this works.. It's currently like this
- - - -
- - - -
Now if I wanted to put it in and make it longer instead of modifying the model I could just add the model again, if you can do this. - is the original dragon tooth, = is the new dragon tooth composed of the second model.
- - - - = = = =
- - - - = = = = |
What is the width of one dteeth field ?
Lets load first just one field.Ok,here's the full new code:
;===========================
;------------ Set grafics mode ---------------------
Graphics3D 1024,768,16,1
SetBuffer BackBuffer()
;------------ Create a plane ---------------
OceanTexture=LoadTexture("grass.bmp")
ScaleTexture OceanTexture,20,20
Ocean=CreatePlane()
EntityTexture Ocean,OceanTexture
PositionEntity Ocean,0,0,0
;------------ Load 3D Model ---------------------
dteeth=LoadMesh("dteeth.3ds")
PositionEntity dteeth,0,0,200
;------------ Create a view -----------------
View1=CreateCamera()
PositionEntity View1,0,180,0
CameraClsColor View1,38,88,155
CameraRange View1,1,1000
;------------ Create light ------------------------
Sun=CreateLight(1)
PositionEntity Sun,0,1000,0
LightRange Sun,2000
Repeat
UpdateWorld
RenderWorld
Flip
Until KeyHit(1)
;===========================
Is everything fine ? |
|
| Back to top |
|
 |
|
|
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 © 2001, 2005 phpBB Group
|