home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


General Thread

by Aardappel on 01/05/2002 01:55, 15527 messages, last message: 03/01/2024 13:02, 12365545 views, last view: 10/08/2024 08:38

for questions, announcements etc.

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#10253: Re: Shader Help?

by MovingTarget on 03/15/2008 23:44, refers to #10252

I seriously need to learn shaders myself. I'm working on GLSL, but I'm assuming you're working in ARB. I still can't figure out what glsltest does yet though :-)

reply to this message

#10254: Texture Quality

by jjsailors on 03/16/2008 02:02

Hey--in an earlier version of Sauerbraten I made a map that includes textures that look like advertisements (trying to make things look a little more life-like with ads for energy drinks, etc).

In that version, the text in the "ad" showed up fine when I played, but since upgrading to the newest version, the text is quite blurry and now it can't really be read.

Any ideas on what I might be able to do to sharpen it up?

Even some help on the largest size/resolution jpg that can be used as a texture would be helpful.

Thanks much!

reply to this message

#10255: Re: Shader Help?

by demosthenes on 03/16/2008 02:31, refers to #10253

Yeah, working in ARB. The problem is that I have something that *should* work, but it doesn't. I can't get anything inside the copied bloom shaders to turn stuff green, unfortunately.

reply to this message

#10256: Re: Shader Help?

by a`baby`rabbit on 03/16/2008 05:09, refers to #10255

bah - using latest cvs...

to the final 3rd of the shader added commented lines
....
] (+ $i 1)
])
MUL bloom.rb, bloom, 0.5; // less red and blue
MOV sample.rb, 0; //green only
MAD result.color, bloom, program.env[0].x, sample;
END
]
]

reply to this message

#10257: Re: Shader Help?

by demosthenes on 03/16/2008 05:42, refers to #10256

Thank you!

I now galumph off to see if that works as I wish it to, and modify if it does not. :)

reply to this message

#10258: Re: Shader Help?

by demosthenes on 03/16/2008 05:58, refers to #10256

That worked, though I tweaked the multiplication all the way down to 0.1, 'cause too much color was still getting in. I wish I could exclude rb values in that where the g value is greater than or equal to the rb value, but this works well enough.

With that modification, a bloom of 200 gives approximately the feel I was looking for. Thanks again! :)

reply to this message

#10259: scripting seems very touchy to formatting...

by SwissCheese on 03/16/2008 13:55

Seems like you have to make sure you get the '[' ']' placement right or your scripts/binds will fail. Almost like the software doesn't like carriage-returns/line-feeds in certain places. At least for me on Ubuntu Linux using mousepad.

doesn't work:

if ( some comparison)
[
code
]

does work:

if ( some comparison) [
code
]

reply to this message

#10260: Can the cube 2 engine be scripted to run an rts game

by Grimreaper1050 on 03/17/2008 01:13

Can the basic mechanics of the game be changed, so that the fps style shooting will be replaced by the large-scale warefare. Mostly will the ai be able to transition for the small scale indivdual shooting to large tactics such as Flanking, ambushes, and such.
Will you please supply me with the answer.

reply to this message

#10261: Re: Can the cube 2 engine be scripted to run an rts game

by MovingTarget on 03/17/2008 01:27, refers to #10260

You can do pretty much anything with the Cube 2 Engine (it's an engine, *not* a game). While making those kinds of modifications will be extremely difficult, it is possible.

reply to this message

#10262: Calling the Engine form an External Lib?

by bigsofty on 03/17/2008 01:37

Hi,

I would like to use the engine with a different language. Is it possible to compile it into a linkable fileformat, ala DLL, .so, etc...?

Many thanks for any info,


Ian

reply to this message

#10263: Re: Calling the Engine form an External Lib?

by MovingTarget on 03/17/2008 02:35, refers to #10262

Yes, it's possible. If you were going to use just the engine, and not Sauerbraten, you'd need to remove all fpsgame and rpggame files from the project, but after that, just change the build target to a shared library instead of a console application (I think).

reply to this message

#10264: Re: Calling the Engine form an External Lib?

by MovingTarget on 03/17/2008 02:48, refers to #10263

Will you please disregard my earlier post. I wasn't thinking correctly for some reason :D

reply to this message

#10265: Perfectionism

by tentus_ on 03/17/2008 05:42

http://www.escapistmagazine.com/articles/view/editorials/gamedesignsketchbook/3018-Game-Design-Sketchbook-Perfectionism

This little article and demo that might interest a number of you.

reply to this message

#10266: Re: Perfectionism

by SheeEttin on 03/17/2008 20:21, refers to #10265

Oh god, I can't stand that feeling... I get it all the time, especially when mapping. There's always just ONE MORE LITTLE BITTY THING that just NEEDS to be done.

reply to this message

#10267: ..

by Julius on 03/18/2008 16:33

http://www.insomniacgames.com/tech/articles/0308/files/progressive_mesh.pdf

maybe this could be of use for implementing automatic model LODs?

reply to this message

#10268: Re: Perfectionism

by IllvilJa on 03/18/2008 18:41, refers to #10266

Actually, I just felt the opposite with one (probably quite crappy) map I've created. Nothing more SHOULD be improved... it is OK as it is (probably not, as the detail is far excessive for old, relatively low-end hardware).

Or to put it another way... if I decide to add YET another aspect to the map or design principle/convenion to implement all over the place THEN I open up a veritable can of worms of changes that need to be done "everywhere".

Kinda like of reaching a point of picking "all more or nothing more" and deciding to pick "nothing".

(As an example of such a step of improvment one does not want to take too lightly is to add that black/yellow-striped kind of warning paint at the ends of platforms and other places where the player might fall over. If added at one place on the map, one is compelled to add it at ALL platform edges. Another example: "oh my, my houses does not have any chimneys! Should I add chimneys to each of them our should I just take two aspirin and forget about the concept?")

Then of course it helps to be a minimalist who has the ultimate goal of squeezing all the map data (and model data) into a video RAM of 2MB. With those limits the question is rather, what aspect of the damn map should I REMOVE (and make sure to remove from EVERYWHERE)...

(Minimalism is nice. It gives you the illusion of saving time ;-) )

reply to this message

#10269: ..

by fc15 on 03/19/2008 21:16

is there any importer/exporter for ogz files so i can edit maps and such in another application

reply to this message

#10270: Re: ..

by MovingTarget on 03/19/2008 21:28, refers to #10269

/writeobj

reply to this message

#10271: Re: ..

by JadeMatrix on 03/20/2008 05:01, refers to #10270

That only exports. There is no import, except for .CGZ's, Cube's map files.

reply to this message

#10272: Re: ..

by jbuk2k7s cookie has gone on 03/20/2008 21:34, refers to #10269

And, the whole purpose of the Cube and Cube 2 engines is so that all of the map editing can be done, in real time, in the game without the lengthy compiles etc needed by other engines.

If you really need something more detailed, use mapmodels. Search the forum for a tutorial on them.

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


Post a Message

Username

Email

Subject

Body

2 multiplied by 6 =


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
57233872 visitors requested 75166068 pages
page created in 0.180 seconds using 10 queries
hosted by Boost Digital