Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Oh wait, I think you mean `batchVertices`, right?

[DiscordArchive] Oh wait, I think you mean `batchVertices`, right?

[DiscordArchive] Oh wait, I think you mean `batchVertices`, right?

rektbyfaith
Administrator
0
04-08-2019, 01:23 PM
#1
Archived author: MaxtorCoder • Posted: 2019-04-08T13:23:46.704000+00:00
Original source

Oh wait, I think you mean `batchVertices`, right?
rektbyfaith
04-08-2019, 01:23 PM #1

Archived author: MaxtorCoder • Posted: 2019-04-08T13:23:46.704000+00:00
Original source

Oh wait, I think you mean `batchVertices`, right?

rektbyfaith
Administrator
0
04-08-2019, 01:25 PM
#2
Archived author: MaxtorCoder • Posted: 2019-04-08T13:25:11.132000+00:00
Original source

```csharp
int batchVertSize = (int)(data.groupsData[g].batch_MaxIndex[bn] - data.groupsData[g].batch_MinIndex[bn] + 1);
Vector3[] batchVertices = new Vector3[batchVertSize];
Vector2[] batchUVs = new Vector2[batchVertSize];
Vector3[] batchNormals = new Vector3[batchVertSize];
Color32[] batchVertexColors = new Color32[batchVertSize];
List<int> batchTrianglesList = new List<int>();
int[] batchTriangles;

int arrayPosition = 0;
uint batch_startVertex = data.groupsData[g].batch_MinIndex[bn];
uint batch_endVertex = data.groupsData[g].batch_MaxIndex[bn];
for (uint v = batch_startVertex; v <= batch_endVertex; v++)
{
batchVertices[arrayPosition] = data.groupsData[g].vertices[v];
batchUVs[arrayPosition] = data.groupsData[g].UVs[v];
batchNormals[arrayPosition] = data.groupsData[g].normals[v];

if (!data.groupsData[g].flags.Hasvertexolors)
batchVertexColors[arrayPosition] = new Color32(127, 127, 127, 127);
else
batchVertexColors[arrayPosition] = data.groupsData[g].vertexColors[(int)v];
arrayPosition++;
}
```
rektbyfaith
04-08-2019, 01:25 PM #2

Archived author: MaxtorCoder • Posted: 2019-04-08T13:25:11.132000+00:00
Original source

```csharp
int batchVertSize = (int)(data.groupsData[g].batch_MaxIndex[bn] - data.groupsData[g].batch_MinIndex[bn] + 1);
Vector3[] batchVertices = new Vector3[batchVertSize];
Vector2[] batchUVs = new Vector2[batchVertSize];
Vector3[] batchNormals = new Vector3[batchVertSize];
Color32[] batchVertexColors = new Color32[batchVertSize];
List<int> batchTrianglesList = new List<int>();
int[] batchTriangles;

int arrayPosition = 0;
uint batch_startVertex = data.groupsData[g].batch_MinIndex[bn];
uint batch_endVertex = data.groupsData[g].batch_MaxIndex[bn];
for (uint v = batch_startVertex; v <= batch_endVertex; v++)
{
batchVertices[arrayPosition] = data.groupsData[g].vertices[v];
batchUVs[arrayPosition] = data.groupsData[g].UVs[v];
batchNormals[arrayPosition] = data.groupsData[g].normals[v];

if (!data.groupsData[g].flags.Hasvertexolors)
batchVertexColors[arrayPosition] = new Color32(127, 127, 127, 127);
else
batchVertexColors[arrayPosition] = data.groupsData[g].vertexColors[(int)v];
arrayPosition++;
}
```

rektbyfaith
Administrator
0
04-08-2019, 01:31 PM
#3
Archived author: schlumpf • Posted: 2019-04-08T13:31:17.537000+00:00
Original source

I doubt it is the issue, but don't cast to `int`.
rektbyfaith
04-08-2019, 01:31 PM #3

Archived author: schlumpf • Posted: 2019-04-08T13:31:17.537000+00:00
Original source

I doubt it is the issue, but don't cast to `int`.

rektbyfaith
Administrator
0
04-08-2019, 01:31 PM
#4
Archived author: MaxtorCoder • Posted: 2019-04-08T13:31:28.957000+00:00
Original source

Yeah I really shouldn't, should I.
rektbyfaith
04-08-2019, 01:31 PM #4

Archived author: MaxtorCoder • Posted: 2019-04-08T13:31:28.957000+00:00
Original source

Yeah I really shouldn't, should I.

rektbyfaith
Administrator
0
04-08-2019, 01:31 PM
#5
Archived author: MaxtorCoder • Posted: 2019-04-08T13:31:34.590000+00:00
Original source

I'll try that. Thanks.
rektbyfaith
04-08-2019, 01:31 PM #5

Archived author: MaxtorCoder • Posted: 2019-04-08T13:31:34.590000+00:00
Original source

I'll try that. Thanks.

rektbyfaith
Administrator
0
04-08-2019, 01:36 PM
#6
Archived author: Deleted User • Posted: 2019-04-08T13:36:01.186000+00:00
Original source

<@160857905879449600>
rektbyfaith
04-08-2019, 01:36 PM #6

Archived author: Deleted User • Posted: 2019-04-08T13:36:01.186000+00:00
Original source

<@160857905879449600>

rektbyfaith
Administrator
0
04-08-2019, 01:36 PM
#7
Archived author: Deleted User • Posted: 2019-04-08T13:36:12.818000+00:00
Original source

```
cromon@cromon-elementary:~/noggit3/.hg$ hg push --new-branch
pushing to https://bitbucket.org/berndloerwald/noggit3
searching for changes
http authorization required for https://bitbucket.org/berndloerwald/noggit3
realm: Bitbucket.org HTTP
user: mugadr.m@googlemail.com
password:
abort: authorization failed
```
rektbyfaith
04-08-2019, 01:36 PM #7

Archived author: Deleted User • Posted: 2019-04-08T13:36:12.818000+00:00
Original source

```
cromon@cromon-elementary:~/noggit3/.hg$ hg push --new-branch
pushing to https://bitbucket.org/berndloerwald/noggit3
searching for changes
http authorization required for https://bitbucket.org/berndloerwald/noggit3
realm: Bitbucket.org HTTP
user: mugadr.m@googlemail.com
password:
abort: authorization failed
```

rektbyfaith
Administrator
0
04-08-2019, 01:36 PM
#8
Archived author: Deleted User • Posted: 2019-04-08T13:36:17.594000+00:00
Original source

rektbyfaith
04-08-2019, 01:36 PM #8

Archived author: Deleted User • Posted: 2019-04-08T13:36:17.594000+00:00
Original source

rektbyfaith
Administrator
0
04-08-2019, 01:37 PM
#9
Archived author: Deleted User • Posted: 2019-04-08T13:37:44.655000+00:00
Original source

now that I got the username it wants, i get a forbidden, cuz I cant create branches
rektbyfaith
04-08-2019, 01:37 PM #9

Archived author: Deleted User • Posted: 2019-04-08T13:37:44.655000+00:00
Original source

now that I got the username it wants, i get a forbidden, cuz I cant create branches

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)