I'm looking for any sample of code how to change drawing my mesh.
I have one box and i'd like to change point 0,0,0 starting not from one
of the corners, but i'd like to start at bottom of my cube at width/2
point? Is there any way to do that?
Thanks in advance 1 2460
Piotrek Alchemik wrote: I'm looking for any sample of code how to change drawing my mesh. I have one box and i'd like to change point 0,0,0 starting not from one of the corners, but i'd like to start at bottom of my cube at width/2 point? Is there any way to do that? Thanks in advance
You can use a transformation matrix on the device or change the vertices
of the mesh manually. In the DX SDK, there are a couple of examples
doing this.
BTW, there are a couple of DX newsgroups:
microsoft.publi c.win32.program mer.directx.man aged
microsoft.publi c.win32.program mer.directx.gra phics
HTH,
Andy
--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40 @*NO*SPAM*gmx.n et This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jean |
last post by:
Hello,
I have just read through the MS Access Security FAQ, and had a go at
securing my database, but now I am stuck.
I successfully set up a new .mdw file, say DEPARTMENT.MDW. With this
file, I set up users and groups, and then the permissions to objects in
my db. Now, I would like to reverse the situation I am in now, i.e. no
matter what db I open from my PC, it doesn't ask me for a username and
password.
|
by: Tim Bücker |
last post by:
Hello.
I want to set my coordinate-system-origin (0/ 0) to the bottom-left corner.
How is that done in C# the best way?
Thanks a lot in advance!
Greetings,
Tim.
|
by: Randy Vande Hei |
last post by:
Does anyone know how to change the the GDI+ coordinate system like you used
to be able to do in VB6 with the picturebox.scale method. The
picturebox.scale method took an x,y point defining the upper left corner and
a second x,y point defining the lower right corner.
In VB6 the 0,0 location was the upper left like in GDI+, but I could at
least reset it so I could use it with lat/lons. Basically all I want to do
is be able to use the...
|
by: Husam |
last post by:
Hi EveryBody:
by VB.Net
How can I amke windows application project start with starting of opreating
system and end with ending the opreating system, for exaple like the windows
service project when you start with starting windows opreating system and
stop with ending of opreating system ?
any help will be apprecaited
|
by: Shane |
last post by:
I've created a wallpaper changer that I want to start up on system
boot.
I know that I can put a shortcut for my app in the startup folder. How
can I get the install program for my app to add a shortcut for all
users.
If I do have a shortcut in the startup folder, I can see the current
wallpaper before switching to the next wallpaper in the queue after
system boot. Is there a way of executing my app before Windows shows
| |
by: kestrel |
last post by:
i found it once before, but ive lost it again.
there was a program or wizard or whatever, that allowed me to change the start-up, shut down sounds, ect.
im running XP home
can anyone help me?
thanks
|
by: avukovi4 |
last post by:
I've created rectangular coordinate system and a triangle movie clip and two buttons by which would like to be able to create a reflected image of the triangle movie clip according to x or y axis.
I'm a math teacher so I want to create different geometrical functions with objects. For instance, I've created buttons for rotation, translation and reflection, but DON'T KNOW how to be able to reflect the triangle movie clip according to CURRENT...
|
by: Petra Rohmer |
last post by:
Hello,
I want to ake following
0,0 (900mm,900mm)
--------------------------------------
|....................................|
|....................................|
|....................................|
|
by: Abhiraj Chauhan |
last post by:
Hello.
I want to set my coordinate-system-origin (0/ 0) to the bottom-left corner.
How is that done in VB.net the best way?
thanks.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |