How to pan in 3DTools:TrackBallDecorator - object

I want to pan a 3D object in 3DTools:TrackBallDecorator. It is possible rotating and zooming in 3DTools, but I don't know how to pan. I use VS 2008 C#. My project has XAML codes.
Please, help !...
Thanks

This might be a little late, but here is the answer anyway: Unfortunately, you can't pan in 3DTools. There is an "Enhanced" version which includes panning and it can be found here.
Unfortunately, this is outdated as well an you will need to do some work before it compiles, but it might be a starting point.

Related

Curves plugin for Maya

I work on a project with curves and sweep on Maya 2022. After testing curves, I'm a little bit dissapointed. Curves are complicated to edit/manipulate. I made some research/tests on different software (houdini, max...) and I would like to try develop a plugin for editing curves in the same way of houdini/max/c4D (a mix keeping best options/editing of these soft). I made some tests (python, openMaya) but my knowledge are limited. I come from AS3/JS so develop in C++ are really intimidating. Help on maya documentation are a bit complicated for me.
So I develop a project (preview) on JS to give you an idea of what I'm trying to do.
I managed to create curves, to apply fillet but I don't understand how I can interact with curves after creating in a panel, how I can add handle to interact with fillet, etc. I find script to add new attributes for each vertex but I would be able to edit coordinates/fillet-chamfer options and I can't edit curve (control vertex) after creation.
Here is a link for my project (develop in JS) : Preview
In the right side, I simulate my panel plugin, on left side the outliner. Instructions are on bottom...
Sorry for my awful english.
Every help, tips are welcome. Please help me.
Thanks

How do I get functional graphics from freepascal?

I've been all over the documentation, and there's nothing comprehensive on the subject of graphics. I know it's possible; I've seen freepascal projects that include functional graphics, but haven't been able to replicate the effect myself.
The basics will be sufficient; lines, polygons, possibly text. Any features beyond that (png support, gradients, resizable window, etc) would be appreciated, but unnecessary. The purpose of this question is to find a workable, testable starting point, not to pick out the best libraries for a given purpose.
If it helps, I'm using Lazarus and I have some experience with Pascal as a whole, but I've been away from it since 2007.
simple graphics starting point
Canvas Drawing: https://wiki.lazarus.freepascal.org/Drawing_with_canvas
Using BGRA (open source drawing lib): https://wiki.lazarus.freepascal.org/BGRABitmap
Library list (not complete but a good start):) https://wiki.lazarus.freepascal.org/Graphics_libraries
Also, I'd like to point out that a lot can be found by searching the fpc wiki, or by visiting the forums,
Here's the "Graphics" forum board,
https://forum.lazarus.freepascal.org/index.php/board,39.0.html

azure batch blender custom image

I am exploring the possibilities of distributed rendering on azure with batch explorer.
I loved the fact that out of the box you get a lot of tools for 3d rendering, even specifically for blender. However I am having some trouble setting it up for my needs.
On batch explorer the blender gallery template is not up to date. I tried to render something and I was getting black geometry. After some troubleshooting I understood it was because of the principled shader that has only been added in 2.79. If I don't use the principled shader all is good, so I believe the version of blender in the template is outdated.
For this reason I am trying to find a way to create a custom linux build with blender 2.79b, but I got stuck. I am a bit lost with all the guides, tutorials and so on.
It would be great if someone could point me in the right direction for what I actually need to do.
Thank you very much for any help in advance!
Bernardo

Windows UI in pharo

I'm pretty green when it comes to Pharo, so I ask you apologies in advance for what might be a dumb question.
I would like to know if there is a way to configure Pharo with the look and feel of native desktop windows applications, or at least to move the minimize-maximize-close buttons to the right corner.
Thank you in advance.
No, it's not. There is work in progress (specifically OSWindow) but it will be some time before we make that transition.

VB6 Game Development

I am developing a game in VB6 (plz don't ask me why :) ).
The storyboard is ready and a rough implementation is underway.
I am following a "pure-software-rendering" approach. (i.e. no DirectX, no openGL etc.)
Amongst many others, the following "serious" problems exist:
2D alpha transparency reqd. to implement overlays.
Parallax implementation to give depth-of-field illusion.
Capturing mouse-scroll events globally (as in FPS-es; mapping them to changing weapon).
Async sound play with absolute "near-zero-lag".
Any ideas anyone. Please suggest any well documented library/ocx or sample-code.
Plz do suggest solutions with good performance and as little overhead as possible.
Also, anyone who has developed any games,
and would be open to sharing her/his code would be highly appreciated.
(any well-acknowledged VB games whose source-code i can study??)
UPDATE: Here is a screen shot of GearHead Garage.
This picture ought to describe what i was attempting in words above... :)
(source: softwarepod.com)
EGL25 by Erkan Sanli is a fast open source VB 6 renderer that can render, rotate, animate, etc. complex solid shapes made of thousands of polygons. Just Windows API calls – no DirectX, no OpenGL.
(source: vbmigration.com)
VBMigration.com chose EGL25 as a high-quality open-source VB6 project (to demonstrate their VB6 to VB.Net upgrade tool).
Despite that, and despite my opinion that VB6 is often criticised too harshly, I can't help thinking there must be better options for game development in 2010?
You may want to check out the Game Programming Wiki -- it used to be "Lucky's VB Game Site" (and we're talking a LONG time ago) but all of the content (VB5/6 centric) moved to the Wiki with the addition of other languages.
It appears that much of the legacy VB6 content is still available on the site.
Have a look at DxIce : http://gamedev.digiapp.com/
I think you will find no well-acknowledged written games in VB6 for precisely the reasons you state above.
It was not designed to be a high performance language. For that you NEED to use the graphics libraries (DirectX, OpenGL) you said you didn't want to use unless you want to BitBLT everything yourself using API calls which is probably not going to get what you need.
VB6 is interpreted, outdated, and I'd be surprised if it runs on Windows 7.
I think you need to seriously re-evaluate the methodology here.
For audio playback, I have used http://www.fmod.org/ in the past. This, and other libraries like BASS, are only free for non-commercial use. I also suggest avoiding the built-in multimedia playback object.

Resources