Z-depth and texturing issues - Build binaries vs source?

Sep 29, 2010 at 4:05 PM
I was able to figure out how to build a mesh, and now have the three textured planes bisecting the textured cube along each primary axis.
The issues I was having with Silvermotion are the same with Balder.
In a reply from the team it was mentoned that these problems are fixed in the latest source.
I'm confused, the binaries I downloaded appear to be the version mentoned.....   [Balder_0_8_8_8.zip]
I've downloaded the latest source, but can not build it since my attempts to install Visual Studio 2010 crashed my computer (BSOD three times)
I will be installing Windows 7 on my computer over the next couple of days, but it will take a while to get all my other software installed.
My question is, is there a difference (that fixes z-sorting and texturing) between the binaries in the above zip file and the latest source?
Details on my z-sorting and texturing problems are that as I rotate the view of a single textured cube intersected through the middle by 3 textured planes the apparent intersection shifts around, not passing through the center of the cube, and the texture also shifts around as the view rotates. The texture shift is in the center of all faces, the edges and corners seem to be mapped properly. In other words, the texture shifts along the diagonal formed where two triangles meet to form a square.
Coordinator
Sep 29, 2010 at 4:58 PM

Hi,

the latest source has a lot of fixes and Z buffering and texturemapping are two of the features that has changed completely. I've rewritten the entire rendering in fact. 

You might not need VS2010 to compile it, as there is a build script using Nant that will build for SL3 at least, since VS2010 is not installed.

With the latest version of the source, I'm pretty confident you'll not see that problem at all, since everything is perspective corrected. With 0.8.8.8 that is a well known bug - and I mean bug. :)

Oct 2, 2010 at 12:10 PM

adept,

Nant is not working I get an error "NAnt has stopped working"

Unhandled Exception: System.TypeInitializationException: The type initializer fo
r 'NAnt.Console.ConsoleStub' threw an exception. ---> System.Security.SecurityEx
ception: Request for the permission of type 'System.Security.Permissions.FileIOP
ermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5619
34e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa
rk& stackMark, Boolean isPermSet)
   at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S
tackCrawlMark& stackMark)
   at System.Security.CodeAccessPermission.Demand()
   at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
   at System.AppDomain.get_BaseDirectory()
   at log4net.Config.XmlConfiguratorAttribute.Configure(Assembly sourceAssembly,
 ILoggerRepository targetRepository)
   at log4net.Core.DefaultRepositorySelector.ConfigureRepository(Assembly assemb
ly, ILoggerRepository repository)
   at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor
yAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttri
butes)
   at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor
yAssembly, Type repositoryType)
   at log4net.Core.DefaultRepositorySelector.GetRepository(Assembly repositoryAs
sembly)
   at log4net.Core.LoggerManager.GetLogger(Assembly repositoryAssembly, String n
ame)
   at log4net.LogManager.GetLogger(Assembly repositoryAssembly, String name)
   at log4net.LogManager.GetLogger(Type type)
   at NAnt.Console.ConsoleStub..cctor()
   --- End of inner exception stack trace ---
   at NAnt.Console.ConsoleStub.Main(String[] args)
Oct 2, 2010 at 12:15 PM

I've got Visual Studio 2010 installed now, but can't figure out what to build?

I tried Balder.Build.sln, but get the error:  "One or more projects in the solution were not loaded correctly, Please see the output window for details"

Here's what's in the output window:

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Build.Viewer.Web\Balder.Build.Viewer.Web.csproj : error  : Unable to read the project file 'Balder.Build.Viewer.Web.csproj'. 
C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Build.Viewer.Web\Balder.Build.Viewer.Web.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Build.Viewer.Web\Balder.Build.Viewer.Web.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Build.Viewer\Balder.Build.Viewer.csproj : error  : Unable to read the project file 'Balder.Build.Viewer.csproj'. 
C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Build.Viewer\Balder.Build.Viewer.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Build.Viewer\Balder.Build.Viewer.csproj'.


Can't the Balder team build the binaries for downloading since these criical fixes are in the source?

Oct 2, 2010 at 12:34 PM

Tried ~\Source\Solutions\Balder_Silverlight.sln 

Got the following errors:

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder\Balder.Silverlight.csproj : error  : Unable to read the project file 'Balder.Silverlight.csproj'. 
C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder\Balder.Silverlight.csproj(393,3): The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight\Balder.Silverlight.csproj : error  : Unable to read the project file 'Balder.Silverlight.csproj'. 
C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight\Balder.Silverlight.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight\Balder.Silverlight.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Tests\Balder.Tests.Silverlight.csproj : error  : Unable to read the project file 'Balder.Tests.Silverlight.csproj'. 
C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Tests\Balder.Tests.Silverlight.csproj(274,3): The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight.Tests\Balder.Silverlight.Tests.csproj : error  : Unable to read the project file 'Balder.Silverlight.Tests.csproj'. 
C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight.Tests\Balder.Silverlight.Tests.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight.Tests\Balder.Silverlight.Tests.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.IntegrationTests.Silverlight\Balder.IntegrationTests.Silverlight.csproj : error  : Unable to read the project file 'Balder.IntegrationTests.Silverlight.csproj'. 
C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.IntegrationTests.Silverlight\Balder.IntegrationTests.Silverlight.csproj(149,3): The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Testing\Balder.Testing.Silverlight.csproj : error  : Unable to read the project file 'Balder.Testing.Silverlight.csproj'. 
C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Testing\Balder.Testing.Silverlight.csproj(111,3): The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.


Coordinator
Oct 2, 2010 at 1:33 PM
Edited Oct 2, 2010 at 1:39 PM

Hi,

release mechanism is manual labor for now, its a question of having time to do it. 

Anyways, the SampleBrowser_Silverlight is a better SLN file. 

 

 

Oct 7, 2010 at 12:00 PM

I've been trying for several days now, and just can't get any of the solutions to open in VS 2010?  (OS - Windows 7)

Trying your suggestion above gives the following errors:

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder\Balder.Silverlight.csproj : error : Unable to read the project file 'Balder.Silverlight.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder\Balder.Silverlight.csproj(393,3): The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight\Balder.Silverlight.csproj : error : Unable to read the project file 'Balder.Silverlight.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight\Balder.Silverlight.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight\Balder.Silverlight.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Tests\Balder.Tests.Silverlight.csproj : error : Unable to read the project file 'Balder.Tests.Silverlight.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Tests\Balder.Tests.Silverlight.csproj(274,3): The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight.Tests\Balder.Silverlight.Tests.csproj : error : Unable to read the project file 'Balder.Silverlight.Tests.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight.Tests\Balder.Silverlight.Tests.csproj: The project file could not be loaded. Could not find a part of the path 'C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Silverlight.Tests\Balder.Silverlight.Tests.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.IntegrationTests.Silverlight\Balder.IntegrationTests.Silverlight.csproj : error : Unable to read the project file 'Balder.IntegrationTests.Silverlight.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.IntegrationTests.Silverlight\Balder.IntegrationTests.Silverlight.csproj(149,3): The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Testing\Balder.Testing.Silverlight.csproj : error : Unable to read the project file 'Balder.Testing.Silverlight.csproj'.

C:\Balder3D\Balder Source\Balder-a4088e4b55d2\Balder_a4088e4b55d2\Source\Balder.Testing\Balder.Testing.Silverlight.csproj(111,3): The imported project "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

 

Coordinator
Oct 7, 2010 at 1:45 PM

I'll get a version out today!

Oct 7, 2010 at 3:05 PM

adept....

I "think" I found the problem!

I had Silverlight 4 installed, I also installed Silverlight 4 "toolkit".

What I didn't have was Silverlight 4 "tools" (installing now)

Apparently "toolkit" and "tools" are not the same, because the "tools" installation is completely different.

Mark this one down to a poor choice of names :)

 

Thanks

Don

Oct 7, 2010 at 3:11 PM

YES!!!!!!

That was the problem, Balder has now built successfully!

I apologize for the confusion, and messaging back and forth. I will test it out on my project tonight to see how the texturing and z-depth sorting looks.

Thank you very much for your patience and understanding.

Don

Coordinator
Oct 7, 2010 at 6:50 PM

I should be thanking you for your patience. Sorry that we don't have better routines for release management yet. 

Anyways, just release 0.8.8.9 - SL3, SL4 + WP7 versions.

Whats new : http://www.ingebrigtsen.info/post/2010/10/07/Finally-its-here-Balder-0889.aspx