It might interest you to know theres an error here

http://crystalspace3d.org/docs/online/manual/cs_4.9.4.php#4.9.4

iMaterialWrapper* upMaterial = ...
iMaterialWrapper* otherMaterial = ...
csRef<iMeshWrapper> walls = engine->CreateThingMesh (room, "cube"));
csRef<iThingState> ws =
  scfQueryInterface<iThingState> (walls->GetMeshObject ());
csRef<iThingFactoryState> walls_state = ws->GetFactory ();
walls_state->AddQuad (
  csVector3 (-.5, .5, -.5),
  csVector3 (.5, .5, -.5),
  csVector3 (.5, .5, .5),
  csVector3 (-.5, .5, .5));
walls_state->SetPolygonMaterial (CS_POLYRANGE_LAST, upMaterial);
walls_state->SetPolygonTextureMapping (CS_POLYRANGE_LAST, 3);
...

should be something like

  csRef<iMeshObject> mesh_object = pcmesh->GetMesh ()->GetMeshObject ();
  csRef<iMeshObjectFactory> mesh_factory = mesh_object->GetFactory ();
  csRef<iThingFactoryState> mesh_state =
      scfQueryInterface<iThingFactoryState> (mesh_factory);
  mesh_state->AddQuad (
  csVector3 (-.5, .5, -.5),
  csVector3 (.5, .5, -.5),
  csVector3 (.5, .5, .5),
  csVector3 (-.5, .5, .5));

regarding the hovertest demo I said I would do, I have decided to put the 
behaviours with the actual code (apps/hovertest as opposed to inside 
behaviour/test), to provide people with an example of how to code their own 
behaviours as well.

I need a pcmesh object for the floor, and at the moment am doing the above to 
provide me with a floor... is there a more cel-ish way? (using the already 
defined floor <meshobj name="walls">)

Thanks

On Saturday 04 February 2006 06:18, Jorrit Tyberghein wrote:
> I'm busy doing some heavy updating of the documentation. You can view
> my latest efforts online at
> http://crystalspace3d.org/docs/online/manual/
>
> Most important new thing there is the mazing tutorial. This is the old
> mazetut tutorial that you can download from the site but now updated
> to latest CS and included in the manual. Note that it is not finished
> but perhaps you can already give me some feedback? The 'mazing'
> tutorial is a small game where you have to shoot adversaries.
>
> I would also appreciate feedback on the rest of the documentation.
>
> And even better would be people who would be willing to help on the
> documentation.
>
> Greetings,
>
> --
> Project Manager of Crystal Space (http://www.crystalspace3d.org)
> and CEL (http://cel.crystalspace3d.org)
> Support Crystal Space. Donate at
> https://sourceforge.net/donate/index.php?group_id=649
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Crystal-main mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/crystal-main
> Unsubscribe:
> mailto:[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to