6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood),
1,268
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
background models
#309325
02/08/10 17:23
02/08/10 17:23
|
Joined: Feb 2005
Posts: 647 Williamsburg, VA USA
draculaFactory
OP
User
|
OP
User
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
|
Is it safe to assume that there is no way to place large models in the background that the camera cannot get close to?
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
|
|
|
Re: background models
[Re: Redeemer]
#309403
02/09/10 05:08
02/09/10 05:08
|
Joined: Feb 2005
Posts: 647 Williamsburg, VA USA
draculaFactory
OP
User
|
OP
User
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
|
See here is the thing... A view entity is close to the camera and covers everything else, which isn't what I was looking for. A sky entity does not work in this manner; it still allows the camera to get close to it and it still may be contacted by other models. I've tested this up, down, and sideways; setting those flags simply does not work. I knew someone was going to respond saying this jeez.
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
|
|
|
Re: background models
[Re: alibaba]
#309472
02/09/10 16:24
02/09/10 16:24
|
Joined: Feb 2005
Posts: 647 Williamsburg, VA USA
draculaFactory
OP
User
|
OP
User
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
|
Yes I am currently using that method, however, the background model will still intersect with other models in the area which is something that I am trying to avoid.
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
|
|
|
Re: background models
[Re: draculaFactory]
#309833
02/11/10 15:18
02/11/10 15:18
|
Joined: Dec 2008
Posts: 1,660 North America
Redeemer
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,660
North America
|
A sky entity does not work in this manner; it still allows the camera to get close to it and it still may be contacted by other models. Umm, no. A sky entity does not interact with your level or any objects in it. You define a SKY entity like this:
SKY* test_sky =
{
/* clip distance is 50000 quants */
/* to keep our model IN FRONT of any skybox you have */
/* keep its x, y, z parameters LESS than 50000 quants */
type = "mountains.mdl";
x = 30000;
y = 30000;
z = 0;
/* the sky entity will NOT react with any other objects, and */
/* it will stay exactly 30000x quants and 30000y quants away */
/* from the camera at all times */
}
So, like I said: use a sky entity.
|
|
|
Re: background models
[Re: Helghast]
#310559
02/15/10 15:12
02/15/10 15:12
|
Joined: Feb 2005
Posts: 647 Williamsburg, VA USA
draculaFactory
OP
User
|
OP
User
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
|
Helghast, I know that you are trying to help, but that method simply does not work. I've been trying to do this for over a month now. Redeemer did make the mistake calling it SKY*
I know he did I knew he did before I even pasted the code lol. Oh burn.
Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.
|
|
|
|