Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows-CPP-und-C ► ««« »»»

3D CPP Links, Info, CPU, Rendering, FPU, OpenGL, DirectX....!


Here are only simple 3D-CPP links and information without and with Open-GL or DirectX!




1.) ... Polygons and cutting!
2.) ... 3D polygons and clipping
3.) ... Drawing lines, e.g. for triangles and polygons 
4.) ... 3D OpenGL and DirectX
5.) ... Advanced Lighting Open GL
6.) ... mathematik.uni-marburg.de! 
7.) ... Interesting for advanced users
7b.) ... 3D objects
8.) ... OpenGL basics
9.) ... More for advanced users!
10.) ... Opening and saving images!




1.) Polygons and cropping!

Interesting page about polygons and clipping in relation/base to another polygon, not at the cutting edge of modern thinking, but still good for understanding the principle and clearly documented in CPP, C, Java, Perl. Also suitable for Linux, Windows, Android and MAC  

https://rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping
optional additional reading material:  
https://gist.github.com/mbostock/ece50c027bdf8cc20003a17d93e4f60e
https://www.javatpoint.com/weiler-atherton-polygon-clipping

The approach is good, but can be improved, the advantage of the polygon is that it covers all polygons, from triangles to... ;-)  


(Image-1) Polygon clipping, cutting
Polygon clipping, cutting

-
▲ Back to the top ▲


2.) 3D Polygon and Clipping

Old code:
https://www.cubic.org/docs/3dclip.htm !
New ideas:
http://www.hugi.scene.org/online/coding/hugi%2016%20-%20cowc3dcl.htm

3.) Line drawing for e.g. triangles and polygons 



https://www.thecrazyprogrammer.com/2017/01/bresenhams-line-drawing-algorithm-cc.html

Fill a Polygon 

1.  https://alienryderflex.com/polygon_fill/
2. Fill a Polygon Using Scan Line Fill Algorithm in C++



4.) 3D OpenGL and DirectX

French site 
https://codes-sources.commentcamarche.net/source/list/ccc-net-3/67-directx/last

Decommissioned site:
https://web.archive.org/web/20150419071915/http://www.gametutorials.com/tutorial/shadows/


5.) Advanced Lighting Open GL

https://learnopengl.com/Advanced-Lighting/Shadows/Shadow-Mapping
GL and vertexarray:
http://www.songho.ca/opengl/gl_vertexarray.html

Realistic terrain in 130 lines:
https://www.playfuljs.com/realistic-terrain-in-130-lines/
https://dcc.fceia.unr.edu.ar/~rbaravalle/fractales/brownGL.html

3-D landscape:
....  gameprogrammer.com/fractal.html#diamond !

Information in German:
OpenGL - Why shadows?
OpenGL - What are shaders? !
Terrains with OpenGL  !

6.) mathematik.uni-marburg.de! 

1.  ... Graphics programming Introduction !
1a. ... Graphics programming I Organization !
2. ... Graphics programming Graphical user interfaces !
3. ... Graphics programming 2D objects: vector and raster graphics !
3b ... Graphics programming I 2D objects: raster conversion !

4. ... Graphics programming OpenGL pipeline !
5. ... Graphics programming I 2D transformations !
5a. ...Graphics programming I 3D transformations ! 
6. ... Graphics programming I Cameras: Perspective projection !
6a. ... Graphics programming I Cameras: Parallel projection !
7. ... Graphics programming Textures !
8.  ... Graphics programming Buffer Objects !
9.  ... Graphics programming I OpenGL Shading Language !
10 ... Graphic programming I Light and materials !
11 ... Graphic programming Shadows !
11a
11b. ... Graphics programming I Reflections!


7.) Interesting for advanced learners

3D C/C++ tutorials - Home OpenGl !
3D C/C++ tutorials - Ray tracing !

INTEL 
DirectX 11 Terrain Rendering Intel AVX !    
https://software.intel.com/en-us/user/1110153/recognitions-contributions
https://software.intel.com/en-us/blogs/2013/03/27/adaptive-volumetric-shadow-maps /
https://software.intel.com/en-us/articles/touch-terrain-sample


(Image-INTEL) INtEl CPU, Rendering, FPU, OpenGL, DirectX! 
INtEl CPU, Rendering, FPU, OpenGL, DirectX! 

-
▲ Back to the top ▲




NVIDA:
https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html


 Nvida CPU, rendering, FPU, OpenGL, DirectX 
Nvida CPU, rendering, FPU, OpenGL, DirectX 


-
▲ Back to the top ▲


7b) 3D object processing:



https://www.codeproject.com/Articles/909/Achieving-PostScript-and-Wmf-outputs-for-OpenGL

Various 3d objects:
https://www.models-resource.com/pc_computer/sims2/model/19674/ !
https://opengameart.org/


*.obj examples: ►  .... people.sc.fsu.edu/~jburkardt/data/obj/obj.html !

Info about *.obj
►  https://www.fileformat.info/format/wavefrontobj/egff.htm
►  http://www.martinreddy.net/gfx/3d/OBJ.spec

Info about *.gltf

►►  https://www.khronos.org/gltf/
►►  https://stackoverflow.com/questions/tagged/gltf


8.) OpenGL Base

1.  https://www.opengl.org/archives/resources/code/samples/more_samples/
2.  https://www.opengl.org/archives/resources/code/samples/redbook/
3.  https:// www.opengl.org/archives/resources/code/samples/glut_examples/examples/examples.html
4.  https://www.opengl.org/archives/resources/code/samples/simple/ !
5.  https://www.opengl.org/archives/resources/code/samples/glut_examples/mesademos/mesademos.html !
6.  https://www.opengl.org/archives/resources/code/samples/glut_examples/

Win32:
... OpenGL Win32 Tutorial Sample Code!
... OpenGL Win32 Tips on OpenGL

Optional:
http://users.polytech.unice.fr/~buffa/cours/synthese_image/DOCS/trant.sgi.com/opengl/examples/ !




ftp://ftp.ux.uis.no/uis/x/OpenFOAM/ !


9. More for advanced users!




Vertex program:
https://www.fhnw.ch/plattformen/computervision/wp-content/uploads/sites/132/2020/04/GPU-Programmierung1.pdf

Interesting pages:
 
http://www.dhpoware.com/demos/glslTerrainTexturing.html ! << VC 2010 and VC 98  

https://www.3dgep.com/multi-textured-terrain-in-opengl/  << VC 2015

http://www.rastertek.com/tertut03.html  //   ... tertut14.html  //  ...tertut19.html  //  .. VS 10 tutterr.html //  tertut14.html

What?: https://www.evl.uic.edu/bijeong/cs594/proj2/

rastertek :  DirectX 11 Terrain Tutorials - Series 2 !
rastertek :  DirectX 11 Terrain Tutorials

http://ddg.sourceforge.net/ !
https://github.com/id-Software  << Doom 1-3 / Quake II III Source Code  

NVIDIA:
 https://http.download.nvidia.com/developer/GPU_Gems/CD_Image/Index.html !
???  http://www.sci.utah.edu/~chengu/timeVarying_vfd.htm
==?  https://www.liyiwei.org/papers/
►►  Efficient occlusion culling


Other sites
http://www.xbdev.net/directx3dx/specialX/Fur/index.php !
http://steps3d.narod.ru/screenshots-eng.html !
https://web.archive.org/web/20150224022645/http://steps3d.narod.ru/downloads-eng.html !

http://nehe.gamedev.net/tutorial/lessons_46__48/16016/ !

Screen Space Grid !

Openg Tunel, particles, and various OpenGL effects: 
Hufo's little coding site - Projects: The OpenGL Challenge (free.fr)

Search queries: 
►  https://www.google.com/search?um=1&q=opengl+vbo+examples+strip&btnG=Bilder-Suche&tbm=isch !
► https://www.google.com/search?q=gpu+frustum+culling

Stripes:
https://www3.cs.stonybrook.edu/~stripe/
http://www.glprogramming.com/red/

10.) Open and save image:



If you want a small, slim solution: 
https://github.com/kbranigan/Simple-OpenGL-Image-Library


11.) DirectX SDK





DirectX 6.1 SDK  http://www.mediafire.com/file/k3zs5yfele8yicz/DX61SDK.zip/file !

12.) Various Tutors




Normal Mapping:
https://ogldev.org/www/tutorial26/tutorial26.html !


Improve / remove tile effects in textures 
https://www.iquilezles.org/www/articles/texturerepetition/texturerepetition.htm !

(Image-2) Textures without tile effects
Textures without tile effects

-
▲ Back to the top ▲



Landscape Engine
https://www.flipcode.com/archives/Realtime_Voxel_Landscape_Engines-Part_7_The_Engine.shtml !

https://www.flipcode.com/archives/ !

13.) Mesh




... Fake mesh instantiation in OpenGL ES 2.0
 

14.) Grass Blades 3D!



 


http://developer.amd.com/wordpress/media/2012/10/i3dGrassFINAL.pdf

(Image-3) Grass Blades 3D Theory!
Grass Blades 3D Theory!


A detailed simulated response for individual blades of grass in fields with millions of blades. The field is divided into tiles whose blade data is instantiated starting from a small patch of blades on the GPU to limit memory and bandwidth requirements. By instantiating the simulation state and computing the simulation for tiles that interact with objects. The simulation does not stop immediately
when objects leave the tile, but with a smooth transition to the original GPU-instantiated state. Grass movement is resolved with collision!


-
▲ Back to the top ▲




FAQ 17: Updated on: 4 September 2024 09:52 Windows
Windows-CPP-und-C

*.sdf file created from Visual Studio 10 onwards, what is it?


The SDF file is the so-called code browsing database that SQL Server Compact Edition uses If you search for the SDF on the Internet, you will see that it
Windows-CPP-und-C

Why optimize graphics and improve performance?


If you want to present to a large audience and show your game or graphics program in its best light, it is important that you include the Ultrabooks. These
Windows-CPP-und-C

A 3d labyrinth with OpenGL and c++ under Windows!


You will find it is easy to program a 3D maze with OpenGL and C++ under Windows I have found that I have written a large number of interesting and perhaps
Windows-CPP-und-C

joyGetPosEx function to query the joystick / controller position!


It is easy to use with joyGetPosEx function to query the joystick / controller position under Windows Required:  Identifier of the joystick to be queried.
Windows-CPP-und-C

ARRAYSIZE Error creating, fix!


Its simple - ARRAYSIZE Error creating, fix error message: : error C2065: ARRAYSIZE : undeclared identifier   Contents: 1. Fixing the ARRAYSIZE error
Windows-CPP-und-C

Alternative to RegDeleteTree!


You can easily write your own routine for RegDeleteTree, or RegDeleteTreeW and RegDeleteTreeA Alternatively you can also  use SHDeleteKeyA or  SHDeleteKeyW
Windows-CPP-und-C

Replace string for unicode in c++ visual studio!


Often, when transitioning from ANSI to Unicode, you need to replace string literals in your C++ code. This is especially important for making your applications

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: cpp, windows, links, info, rendering, opengl, directx, here, only, simple, 3d-cpp, information, without, with, open-gl, polygons, cutting, clipping, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + PreventTurnOff
  + QuickMemoryTestOK
  + IsMyHdOK
  + AutoPowerOptionsOK
  + OneLoupe
  + TraceRouteOK
  + GetWindowText
  + AutoHideMouseCursor
  + Desktop.Calendar.Tray.OK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Windows Desktop Clock Snow-White! ◄
► Activate and Deactivate the Docking of Windows in Win 11 / 10! ◄
► The Edge Internet Browser is suddenly dark! ◄
► Small Icons Size in Taskbar of Windows 10? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....