Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 1:21 pm
All times are UTC + 0
Rev 442 -- Reformed command system, OpenCL support, improve
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
PPMNewsReporter
Official PPM Bot with Custom Rank!


Joined: 07 Sep 2011

PostPosted: Mon Mar 10, 2014 11:26 am    Post subject:  Rev 442 -- Reformed command system, OpenCL support, improve Reply with quote  Mark this post and the followings unread

banshee -- 178 file(s) modified

Reformed command system, OpenCL support, improved texture generators and much more.

I'm committing the current version because I need to transfer it to my laptop, so:

This commit is considered unstable due to the absurd amount of changes where several were untested or not totally safe. Be careful with features such as 3D Preview Window (there is a chance of crashing when closing), Mesh Optimization (not tested at all).

This is a major commit which has the first implementation of the new Controller system and Undo system for models only (voxels will get that later). The controller receives and stores commands, which in the future will be used by other users to replicate a model from a certain machine on other machines (like multi-player). The undo/redo system has been coded, but it wasn't implemented yet, which means that, at the moment, it only consumes RAM.

This revision also has support for OpenCL (nVidia and AMD machines only). The first feature that uses OpenCL is the Texture Atlas Generator (Origami), which was tested only on nVidia machines at this moment (CUDA). It has received several fixes and it generates much better results than ever. In some situations (small models with no ramifications), the texture is shorten to a single card, which is excellent. However, there are still a couple of problems that causes borders of the cards to show up in the model. I don't know what causes it yet. The other texture atlas extraction method generates better results due to an algebraic fix on VertexTransformationUtils.pas. The names of the texture atlas extraction methods in the UI were updated.

There is also a debug texture atlas feature that is allowing me to debug the result of both texture atlas extraction methods. The result of that thing is only shown when you export all textures. This should be fixed in a later time.

In a later time, I'll update the code for the non-GPU version of Origami (it might be messed up at the moment) and add it for non nVidia/AMD machines. I'll also add an option to use GPGPU or not at the Preferences.

There were many other code changes and things being reorganized. I also need to delete a bunch of stuff on Actor, Model, LOD and Mesh. And I will eventually split the voxel part from the Actor, Model, LOD and Mesh, so I can reuse this code on other projects that may not necessarily use voxels.

Finally, some files were deprecated and they are here for backup purposes only.

If you are looking for a stable version, keep using the previous revision (441) for now. Sorry for any inconvenience.


+ /vxlseiii14x/opencl
+ /vxlseiii14x/opencl/origami.cl
~ /vxlseiii14x/source/constants/BasicConstants.pas
~ /vxlseiii14x/source/constants/GLConstants.pas
~ /vxlseiii14x/source/constants/GlobalVars.pas
~ /vxlseiii14x/source/constants/NormalsConstants.pas
+ /vxlseiii14x/source/control/ActorActionCommandBase.pas
+ /vxlseiii14x/source/control/ActorActionController.pas
+ /vxlseiii14x/source/control/BaseController.pas
+ /vxlseiii14x/source/control/CommandBase.pas
+ /vxlseiii14x/source/control/commands
+ /vxlseiii14x/source/control/commands/BumpMapTextureGeneratorCommand.pas
+ /vxlseiii14x/source/control/commands/DiffuseDebugTextureGeneratorCommand.pas
+ /vxlseiii14x/source/control/commands/DiffuseTextureGeneratorCommand.pas
+ /vxlseiii14x/source/control/commands/MeshConvertQuadsTo48TrisCommand.pas
+ /vxlseiii14x/source/control/commands/MeshConvertQuadsToTrisCommand.pas
+ /vxlseiii14x/source/control/commands/MeshDeflateCommand.pas
+ /vxlseiii14x/source/control/commands/MeshInflateCommand.pas
+ /vxlseiii14x/source/control/commands/MeshOptimization2009Command.pas
+ /vxlseiii14x/source/control/commands/MeshRecalculateNormalsCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSetFaceColoursCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSetFaceNormalsCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSetVertexColoursCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSetVertexNormalsCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSmoothFaceColoursCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSmoothFaceNormalsCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSmoothGaussianCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSmoothMastersCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSmoothSBGamesCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSmoothSBGamesDraftCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSmoothVertexColoursCommand.pas
+ /vxlseiii14x/source/control/commands/MeshSmoothVertexNormalsCommand.pas
+ /vxlseiii14x/source/control/commands/MeshUnsharpMaskingCommand.pas
+ /vxlseiii14x/source/control/commands/ModelChangeRemappableCommand.pas
+ /vxlseiii14x/source/control/commands/ModelLoadCommand.pas
+ /vxlseiii14x/source/control/commands/ModelRebuildCommand.pas
+ /vxlseiii14x/source/control/commands/ModelRebuildLODCommand.pas
+ /vxlseiii14x/source/control/commands/NormalMapTextureGeneratorCommand.pas
+ /vxlseiii14x/source/control/commands/TextureAtlasExtractorCommand.pas
+ /vxlseiii14x/source/control/commands/TextureAtlasExtractorOrigamiCommand.pas
+ /vxlseiii14x/source/control/commands/TextureAtlasExtractorOrigamiGACommand.pas
+ /vxlseiii14x/source/control/ControllerObjectCommandItem.pas
+ /vxlseiii14x/source/control/ControllerObjectCommandList.pas
+ /vxlseiii14x/source/control/ControllerObjectItem.pas
+ /vxlseiii14x/source/control/ControllerObjectList.pas
+ /vxlseiii14x/source/control/mesh/BumpMapTextureGenerator.pas
+ /vxlseiii14x/source/control/mesh/DiffuseDebugTextureGenerator.pas
+ /vxlseiii14x/source/control/mesh/DiffuseTextureGenerator.pas
+ /vxlseiii14x/source/control/mesh/LODPostProcessing.pas
+ /vxlseiii14x/source/control/mesh/MeshColourCalculator.pas
~ /vxlseiii14x/source/control/mesh/MeshColoursTool.pas
+ /vxlseiii14x/source/control/mesh/MeshConvertQuadsTo48Tris.pas
+ /vxlseiii14x/source/control/mesh/MeshConvertQuadsToTris.pas
+ /vxlseiii14x/source/control/mesh/MeshDeflate.pas
+ /vxlseiii14x/source/control/mesh/MeshInflate.pas
~ /vxlseiii14x/source/control/mesh/MeshNormalsTool.pas
+ /vxlseiii14x/source/control/mesh/MeshNormalVectorCalculator.pas
+ /vxlseiii14x/source/control/mesh/MeshOptimization2009.pas
~ /vxlseiii14x/source/control/mesh/MeshOptimizationTool.pas
+ /vxlseiii14x/source/control/mesh/MeshProcessingBase.pas
~ /vxlseiii14x/source/control/mesh/MeshProcessingTool.pas
+ /vxlseiii14x/source/control/mesh/MeshRecalculateNormals.pas
+ /vxlseiii14x/source/control/mesh/MeshSetFaceColours.pas
+ /vxlseiii14x/source/control/mesh/MeshSetFaceNormals.pas
+ /vxlseiii14x/source/control/mesh/MeshSetVertexColours.pas
+ /vxlseiii14x/source/control/mesh/MeshSetVertexNormals.pas
+ /vxlseiii14x/source/control/mesh/MeshSmoothFaceColours.pas
+ /vxlseiii14x/source/control/mesh/MeshSmoothFaceNormals.pas
+ /vxlseiii14x/source/control/mesh/MeshSmoothGaussian.pas
+ /vxlseiii14x/source/control/mesh/MeshSmoothMasters.pas
+ /vxlseiii14x/source/control/mesh/MeshSmoothSBGAMES.pas
+ /vxlseiii14x/source/control/mesh/MeshSmoothSBGAMESDraft.pas
+ /vxlseiii14x/source/control/mesh/MeshSmoothVertexColours.pas
+ /vxlseiii14x/source/control/mesh/MeshSmoothVertexNormals.pas
+ /vxlseiii14x/source/control/mesh/MeshUnsharpMasking.pas
+ /vxlseiii14x/source/control/mesh/NormalMapTextureGenerator.pas
~ /vxlseiii14x/source/control/mesh/TextureAtlasExtractor.pas
~ /vxlseiii14x/source/control/mesh/TextureAtlasExtractorBase.pas
~ /vxlseiii14x/source/control/mesh/TextureAtlasExtractorOrigami.pas
~ /vxlseiii14x/source/control/mesh/TextureAtlasExtractorOrigamiGA.pas
+ /vxlseiii14x/source/control/mesh/TextureAtlasExtractorOrigamiGPU.pas
+ /vxlseiii14x/source/control/mesh/TextureAtlasExtractorOrigamiMT.pas
x /vxlseiii14x/source/control/mesh/TextureGenerator.pas
+ /vxlseiii14x/source/control/mesh/TextureGeneratorBase.pas
~ /vxlseiii14x/source/control/mesh/TriangleFiller.pas
+ /vxlseiii14x/source/control/ModelUndoEngine.pas
~ /vxlseiii14x/source/control/UI2DEditView.pas
x /vxlseiii14x/source/control/undo_engine.pas
~ /vxlseiii14x/source/control/voxels/FillUselessGapsTool.pas
~ /vxlseiii14x/source/control/voxels/TopologyAnalyzer.pas
~ /vxlseiii14x/source/control/voxels/TopologyFixer.pas
~ /vxlseiii14x/source/control/voxels/VH_SurfaceGen.pas
~ /vxlseiii14x/source/control/voxels/Voxel_AutoNormals.pas
~ /vxlseiii14x/source/control/voxels/Voxel_Tools.pas
+ /vxlseiii14x/source/control/VoxelUndoEngine.pas
~ /vxlseiii14x/source/control/Voxel_Engine.pas
~ /vxlseiii14x/source/datatypes/advanced/IntegerList.pas
~ /vxlseiii14x/source/datatypes/advanced/MeshGeometryList.pas
~ /vxlseiii14x/source/datatypes/advanced/QuadList.pas
~ /vxlseiii14x/source/datatypes/advanced/ThreeDPointsDetector.pas
~ /vxlseiii14x/source/datatypes/advanced/TriangleList.pas
~ /vxlseiii14x/source/datatypes/advanced/TriangleNeighbourSet.pas
~ /vxlseiii14x/source/datatypes/advanced/Vector3fSet.pas
~ /vxlseiii14x/source/datatypes/advanced/VertexList.pas
~ /vxlseiii14x/source/datatypes/advanced/VertexQueue.pas
~ /vxlseiii14x/source/datatypes/BasicDataTypes.pas
+ /vxlseiii14x/source/datatypes/BasicMathsTypes.pas
+ /vxlseiii14x/source/datatypes/BasicRenderingTypes.pas
+ /vxlseiii14x/source/datatypes/BasicVXLSETypes.pas
+ /vxlseiii14x/source/datatypes/ControllerDataTypes.pas
~ /vxlseiii14x/source/document/HVA.pas
~ /vxlseiii14x/source/document/ModelBank.pas
~ /vxlseiii14x/source/document/normals.pas
~ /vxlseiii14x/source/document/Palette.pas
~ /vxlseiii14x/source/document/Voxel.pas
~ /vxlseiii14x/source/filetypes/3dmodels/OBJFile.pas
~ /vxlseiii14x/source/filetypes/3dmodels/PLYFile.pas
~ /vxlseiii14x/source/filetypes/bzk2/BZK2_File.pas
~ /vxlseiii14x/source/filetypes/bzk2/BZK2_Sector.pas
~ /vxlseiii14x/source/forms/Form3dModelizer.dfm
~ /vxlseiii14x/source/forms/Form3dModelizer.pas
~ /vxlseiii14x/source/forms/Form3dPreview.pas
~ /vxlseiii14x/source/forms/FormAutoNormals.pas
~ /vxlseiii14x/source/forms/FormHeaderUnit.pas
~ /vxlseiii14x/source/forms/FormMain.dfm
~ /vxlseiii14x/source/forms/FormMain.pas
~ /vxlseiii14x/source/forms/FormReplaceColour.pas
~ /vxlseiii14x/source/forms/FormVoxelTexture.pas
~ /vxlseiii14x/source/Global_Conditionals.inc
+ /vxlseiii14x/source/maths/ColisionCheck.pas
+ /vxlseiii14x/source/maths/ColisionCheckBase.pas
+ /vxlseiii14x/source/maths/geometric_algebra/ColisionCheckGA.pas
~ /vxlseiii14x/source/maths/geometric_algebra/GeometricAlgebra.pas
~ /vxlseiii14x/source/maths/Geometry.pas
~ /vxlseiii14x/source/maths/math3d.pas
~ /vxlseiii14x/source/maths/VertexTransformationUtils.pas
~ /vxlseiii14x/source/rendering/Actor.pas
~ /vxlseiii14x/source/rendering/Camera.pas
~ /vxlseiii14x/source/rendering/LOD.pas
~ /vxlseiii14x/source/rendering/Material.pas
~ /vxlseiii14x/source/rendering/Mesh.pas
~ /vxlseiii14x/source/rendering/MeshBRepGeometry.pas
~ /vxlseiii14x/source/rendering/MeshGeometryBase.pas
~ /vxlseiii14x/source/rendering/meshplugins/BumpMapDataPlugin.pas
~ /vxlseiii14x/source/rendering/meshplugins/DifferentMeshFaceTypePlugin.pas
~ /vxlseiii14x/source/rendering/meshplugins/NeighborhoodDataPlugin.pas
~ /vxlseiii14x/source/rendering/meshplugins/NormalsMeshPlugin.pas
~ /vxlseiii14x/source/rendering/Model.pas
~ /vxlseiii14x/source/rendering/RenderEnvironment.pas
~ /vxlseiii14x/source/rendering/RenderingMachine.pas
~ /vxlseiii14x/source/rendering/ShaderBankItem.pas
~ /vxlseiii14x/source/rendering/TextureBankItem.pas
~ /vxlseiii14x/source/rendering/VoxelMeshGenerator.pas
~ /vxlseiii14x/source/rendering/VoxelView.pas
~ /vxlseiii14x/source/utils/BasicFunctions.pas
+ /vxlseiii14x/source/utils/DistanceFormulas.pas
+ /vxlseiii14x/source/utils/MeshCurvatureMeasure.pas
~ /vxlseiii14x/source/utils/NeighborDetector.pas
+ /vxlseiii14x/source/utils/OpenCL
+ /vxlseiii14x/source/utils/OpenCL/CL.pas
+ /vxlseiii14x/source/utils/OpenCL/clext.pas
+ /vxlseiii14x/source/utils/OpenCL/cl_d3d9.pas
+ /vxlseiii14x/source/utils/OpenCL/cl_d3d10.pas
+ /vxlseiii14x/source/utils/OpenCL/cl_ext.pas
+ /vxlseiii14x/source/utils/OpenCL/cl_gl.pas
+ /vxlseiii14x/source/utils/OpenCL/cl_platform.pas
+ /vxlseiii14x/source/utils/OpenCL/oclUtils.pas
+ /vxlseiii14x/source/utils/OpenCLLauncher.pas
~ /vxlseiii14x/source/utils/RefinementTrianglesSupporter.pas
~ /vxlseiii14x/source/utils/ThreeDMap.pas
~ /vxlseiii14x/source/utils/VolumeFaceVerifier.pas
~ /vxlseiii14x/source/utils/VoxelMap.pas
~ /vxlseiii14x/vxlse_III.bdsproj
~ /vxlseiii14x/vxlse_III.bdsproj.local
~ /vxlseiii14x/vxlse_III.dpr
~ /vxlseiii14x/vxlse_III.exe
~ /vxlseiii14x/vxlse_III.res
~ /Welcome.txt

Read more...

_________________
Hi, I am a bot. Official bot at PPM. Don't be ashamed to reply to my posts. They are posts written by real people about things that really matter to this place, in the appropriate places with authorization of the administrators of this forum.

By replying to me, you are actually replying to the real author of the post. Don't be ashamed to comment "my" posts and the real author may reply to you.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1481s ][ Queries: 11 (0.0073s) ][ Debug on ]