Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: 1 ... 4 5 [6]
  Print  
Author Topic: A basic 3rd person demo  (Read 27889 times)
Maroonhawk
Community Member
*
Posts: 99


« Reply #100 on: December 25, 2007, 11:54:18 AM »

The line that's causing the crash should be:

Code:
terrain = new TVLandscape();

Change that to:

Code:
terrain = scene.createlandscape();

And that should work.

This should also fix MiloDC's problem.
Logged

Useless applications by a bored teenager
baiqian
Community Member
*
Posts: 7


« Reply #101 on: December 28, 2007, 12:33:39 AM »

When I complie the C# version and run, the window all white,nothing can see  :-(
Logged
jhdgkss
Community Member
*
Posts: 36


« Reply #102 on: January 01, 2008, 07:25:53 AM »

HI getting problems with this piece of code it keeps crashing the prog at this point .

 //terrain = new TVLandscape();
            terrain = scene.createlandscape();
            terrain.GenerateTerrain(@"Maps\Isle1\isle1_Height.bmp", CONST_TV_LANDSCAPE_PRECISION.TV_PRECISION_HIGH,
                10, 10, 0, 0, 0, true);

AccessViolationException was unhandled

What does this mean?
Logged
ZaPPZion
Moderator
Community Member
*****
Posts: 554


« Reply #103 on: January 01, 2008, 07:31:50 AM »

it probably cant find the height map;)
Logged

Check out my website: www.bartkuipers.com
jhdgkss
Community Member
*
Posts: 36


« Reply #104 on: January 01, 2008, 07:37:42 AM »

Thanks for the quick reply
I have altered the code to make sure it finds the height map but still same problem

 terrain = new TVLandscape();
            //terrain = scene.createlandscape();
            terrain.GenerateTerrain(@"D:\Programming\3D person demo\isle1_Height.bmp", CONST_TV_LANDSCAPE_PRECISION.TV_PRECISION_HIGH,
                10, 10, 0, 0, 0, true);
Logged
pizzayoyo
Customers
Community Member
*****
Posts: 1423


WWW
« Reply #105 on: January 01, 2008, 01:35:15 PM »

Well, you have Terrain = Scene.CreateLandscape commented out.
Logged

nateslunaXX
Community Member
*
Posts: 229

Be cool..! Study Hard...


« Reply #106 on: January 03, 2008, 06:25:56 PM »

HI getting problems with this piece of code it keeps crashing the prog at this point .

 //terrain = new TVLandscape();
            terrain = scene.createlandscape();
            terrain.GenerateTerrain(@"Maps\Isle1\isle1_Height.bmp", CONST_TV_LANDSCAPE_PRECISION.TV_PRECISION_HIGH,
                10, 10, 0, 0, 0, true);

AccessViolationException was unhandled

What does this mean?

i had the same problem so i changed the
terrain = new TVLandscape(); to terrain = Core.Scene.CreateLandscape("DUH");

now i have a problem with
player.Render(TRUE); inside the RenderGlow() function
Logged


Nathan Alcon, BSIT - Life is a never ending Cycle of Learning
nateslunaXX
Community Member
*
Posts: 229

Be cool..! Study Hard...


« Reply #107 on: January 05, 2008, 07:02:25 AM »

is the original vb6 version of this still around?
Logged


Nathan Alcon, BSIT - Life is a never ending Cycle of Learning
Hypnotron
Customers
Community Member
*****
Posts: 1043


« Reply #108 on: January 07, 2008, 06:05:35 AM »

i dont recall there ever being a vb6 version of this.  i could be wrong.
Logged
aliakey
Community Member
*
Posts: 3


« Reply #109 on: January 07, 2008, 11:50:13 AM »

The original was in VB6 per the original post, and then Zaknafein made changes/ported to C#.  A demo with the basic functionality for VB6 users would be most welcomed, as I'm unable to even think my way out of a C# box.   Embarrassed

So, I would also be very interested in the VB6 version as well since the original link to the source is no longer functioning.  With AGT's permission, I'd be happy to offer it a permanent home on my server, if interested.

The more I use this TV3D engine, the more I like it.  Just hard to find example code and how-to-use-stuff for us VB6 users.


Logged
Pages: 1 ... 4 5 [6]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks