Crystal Space
Welcome, Guest. Please login or register.
October 20, 2017, 01:16:21 pm

Login with username, password and session length
Search:     Advanced search
9063 Posts in 2051 Topics by 77473 Members
Latest Member: Nelekbrbar444
* Home Help Search Login Register
  Show Posts
Pages: [1] 2 3 4
1  Crystal Space Development / Game Content Creation / Re: How do I construct a csRenderBuffer that will hold triangles? on: April 27, 2008, 02:41:23 pm
Well, I think there are two parts to the answer, but first a question, what is it you are actually trying to do?

As for the building a csRenderBuffer manually, below is some example code that builds a index render buffer out of an array of csTriangles. To be able to access the raw array, you should use csDirtyAccessArray instead of csArray

csDirtyAccessArray<csTriangle> triArray;

// fill the array

csRef<iRenderBuffer> mybuffer = csRenderBuffer::CreateIndexRenderBuffer(triArray.GetSize() * 3, CS_BUF_STATIC, CS_BUFCOMP_UNSIGNED_INT, 0, (size_t)~0);
mybuffer->CopyInto(triArray.GetArray(), triArray.GetSize()*3);

As for blender2cs, it does support submeshes. I believe it will automatically split up an object if you have multiple materials/textures, however I do not know if you can manually create submeshes too. I think someone more versed in blender & b2cs would have to answer that.

2  Crystal Space Development / General Crystal Space Discussion / Re: where is the command line? on: July 05, 2007, 04:01:30 pm
Jam isn't used when compiling on Visual C++, so jam install etc isn't relevant.

The command line is the windows command shell, you find it under Start->All Programs->Accessories->Command Prompt

3  Crystal Space Development / Support / Re: #include_next not recognized by VC++, need it for compiling tutorials on: February 13, 2006, 10:04:34 pm
There are no #include_next in CS headers, so i don't see how they can cause your problem.

4  Crystal Space Development / General Crystal Space Discussion / Re: Link forum with community site on: January 29, 2006, 10:16:26 am
It is possible to theme the forum so that it looks like the community-site (and/or the official site). However that requires somebody having time and will to work on it Smiley Any volunteers? Smiley

5  Crystal Space Development / General Crystal Space Discussion / Re: Procedural Textures on: December 09, 2005, 11:07:30 am
No, it does not (i know, i wrote it Wink

What algorithm you need depends entierly on what you want to do. Is it a texture to describe the shape of the water surface (a "heightmap"), and if so is it an ocean or a glass of water, or is it a normalmap for small ripples etc?

6  Crystal Space Development / General Crystal Space Discussion / Re: Crystal Space sound issues on: November 24, 2005, 12:00:44 pm
Not only possible patent problems, but very much existing ones. Thomson who owns the patent wants $2500 per game title if you use mp3 in it, and for other software (such as CS itself) $50k one-time or $0.75 per copy with a minimum of $15k per year..

So if you want to pay, sure go ahead and fix it Wink
7  Crystal Space Development / Support / Re: Problem with Compiling CS on: November 11, 2005, 05:28:25 pm
Last night I compiled (almost latest) version of CVS-version of CS almost without any problem.

There is one outstanding issue related to manifest generation which makes the applications unable to link. If SF resolves the CVS issue they have right now i plan on fixing those tonight.

8  Crystal Space Development / General Crystal Space Discussion / Re: Une petite application... on: October 21, 2005, 09:10:19 pm
Sorry, most users on this site does not speak french, so we use english here.

9  Crystal Space Development / Support / Re: Bug? Comparing an element of csStringArray with const char* doesn't work? on: September 15, 2005, 06:37:05 pm
Here I have to disagree with Jorrit Wink
Many times ease of use goes over efficiency, so I would say unless you find your string array to be any major performance or memory bottleneck, use csArray<csString> if you feel like doing it.

10  Crystal Space Development / Support / Re: Can't start viewmesh on: August 25, 2005, 12:08:38 pm
Also just to simplify a bit.. you do not need cswin32libs package when using the binaries.

11  Crystal Space Projects / Project Discussion / Re: So you want to make a game? on: August 21, 2005, 11:27:03 am
12  Crystal Space Development / General Crystal Space Discussion / Re: Software Renderer... Still Needed? on: August 20, 2005, 05:55:04 pm
I am (as jorrit already knows Wink very strong supporter of removing software renderer.

The main reasons for me are
  • The software renderer have special requirements on input (to be efficient) which in turn leads to a lot of ugly code in other locations, such as thingmesh (but also in the opengl renderer..)
  • Software renderer is from time to time (lately more often than not) broken. It take resources (in developer time) to keep it working.
  • Software renderer (and support-code in shader system and thing among other places) is a lot of code which both makes CS bigger to download and makes it look harder to understand for new users

13  Crystal Space Development / Support / Re: LINK error in VC for the csThread on: August 13, 2005, 06:05:19 pm
Accualy, for libraries there is a different macro, CS_IMPLEMENT_FOREIGN_DLL ..

14  Crystal Space Project Development / Bug Reports / Re: CS buildsystem has some issues... on: August 13, 2005, 03:14:13 pm
1) "jam install" compiles csapps and plugins before installing - why??
When I want to make "jam libs && jam install" only I don't need plugins and I really don't need apps. It's a huge waste of time and energy.
This is by design. jam install installs everything, and it cannot detect which parts you have manually compiled.
Apart from this, you do need the plugins.. otherwise you won't be able to use the lib for anything really Wink

2) "jam install" does not copy libs to prefix-dir when used configure --enable-shared
Compiling the libraries as shared libs is work in progress, not tested really and probably broken (this includes the installation of them)

3) After "jam install" none of the apps works. All apps only work when they are left in the CS directory or they won't find their config (e.g. vfs.cfg) or data (e.g. mapfiles).
The config-files will be installed to prefix/etc but CS expects them in prefix/lib/crystalspace.

Setting $CRYSTAL doesn't help in any case.

=> configure --prefix doesn't work
=> jam install doesn't work
This however paritally sounds like a bug. Maybe you could reserach and provide a patch? Otherwise it will probably not be fixed until next release.
During the development most/all of the CS developers don't install but keep CS in the build directory (and set $CRYSTAL when running other things) so jam install breaks every now and then. Before a release it is usualy fixed so that it works for the releases though.

15  Crystal Space Development / Support / Re: LINK error in VC for the csThread on: August 13, 2005, 03:05:45 pm
This is because you did not read the documentation correctly Wink

Every application which use CS needs to have CS_IMPLEMENT_APPLICATION in one of the sourcefiles (.cpp).

Pages: [1] 2 3 4
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.225 seconds with 16 queries.